Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: printing the hash contents in mail

by f00li5h (Chaplain)
on Jan 08, 2008 at 08:43 UTC ( #661029=note: print w/ replies, xml ) Need Help??


in reply to printing the hash contents in mail

you could just use Data::Dumper and print Dumper( \%structure ) or YAML, which will produce a text representation of the structure... YAML will be somewhat more pretty, but Data::Dumper is far more in-core

you could also write a recursive sub to dump it ...

later YAML also provides a method called Dumper so it will play nice with code that's used to using Data::Dumper

@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;


Comment on Re: printing the hash contents in mail
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2015-07-07 13:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls