MrSnrub has asked for the wisdom of the Perl Monks concerning the following question:
...it prints a hash with about 20 key/value pairs. Is there a way I can tell it to only print key-value pairs for one or two or three specific fields?print Dumper(\%myhash);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Output only certain fields from a hash using the Data::Dumper
by choroba (Cardinal) on Jan 07, 2015 at 12:16 UTC | |
by MrSnrub (Beadle) on Jan 07, 2015 at 16:16 UTC | |
|
Re: Output only certain fields from a hash using the Data::Dumper
by Athanasius (Archbishop) on Jan 07, 2015 at 13:09 UTC | |
|
Re: Output only certain fields from a hash using the Data::Dumper ( different hash, a subroutine)
by Anonymous Monk on Jan 07, 2015 at 22:42 UTC |