http://www.perlmonks.org?node_id=339062


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