Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Dump using Dumper

by zentara (Archbishop)
on Mar 23, 2004 at 16:19 UTC ( [id://339062]=note: print w/replies, xml ) Need Help??


in reply to Dump using Dumper

It's alot easier using YAML.
#!/usr/bin/perl use YAML; my %hash = qw/Blue 1 Cow 3/; print Dump(\%hash);
Output:
--- #YAML:1.0 Blue: 1 Cow: 3
The secret is to put a \ in front of %hash. :-)

I'm not really a human, but I play one on earth. flash japh

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-19 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found