I've been struggling with the following code now and am about to scream. Can someone please tell me how to pull a list out of a hash that contains lists?
my %MsgContents = (
A => [1, 2, 3],
B => [4, 5, 6]
);
my $single = $MsgContents{B}[0];
print $single; # prints 4 as expected
#my...