in reply to Complicated Nested Data Structures

The get method returns an array *reference*, not an actual array. So your statement should be
$msgs[$command]{message} = $pop->get($command);
That will store the array reference in
$msgs[$command]{message}
To dump our your @msgs array--to get a sense of what it looks like, visually--you can use Data::Dumper, as jlp suggested:
print Dumper \@msgs;

Replies are listed 'Best First'.
RE: Re: Complicated Nested Data Structures
by elusion (Curate) on Aug 09, 2000 at 06:49 UTC
    Thanx. That worked beautifully, once I realized that in order to print it I need to say print @{msgs[$command]{message}}; I appreciate your help.

    - p u n k k i d
    "Reality is merely an illusion, albeit a very persistent one." -Albert Einstein