Bug#682027: show how do Dump 1000 hashes

jidanni at jidanni.org jidanni at jidanni.org
Wed Jul 18 21:36:18 UTC 2012


Package: perl-doc
Version: 5.14.2-12
Severity: wishlist
File: /usr/share/man/man3/Data::Dumper.3perl.gz

At
           print Data::Dumper->Dump([$b, $a], [qw(*b a)]);
it would also be great to have a general example of how to dump 1000 hashes:
for(@hashnames){
           print Data::Dumper->Dump([\%$_], [qw(*$_)]);
}
or just
           print Data::Dumper->Dump([map( \%, @hashnames)], [@hashnames)];

which of course do not work. So it would be great to know how to do it.




More information about the Perl-maintainers mailing list