Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

RE: RE: Re: Complicated Nested Data Structures

by jlp (Friar)
on Aug 09, 2000 at 06:41 UTC ( #26937=note: print w/replies, xml ) Need Help??


in reply to RE: Re: Complicated Nested Data Structures
in thread Complicated Nested Data Structures

Gotcha. No problem :) If all you want to do is print the contents of an array reference, just do:

print @{ $arrayref };

So, in your example, all you should have to do is:

print @{ $msgs[$command]->{message} }

assuming I understand the way your datastructure is setup. Hope that helps.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://26937]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2023-06-05 00:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (22 votes). Check out past polls.

    Notices?