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

Re: Dump using Dumper

by DamnDirtyApe (Curate)
on Mar 23, 2004 at 05:34 UTC ( #338903=note: print w/replies, xml ) Need Help??


in reply to Dump using Dumper

I don't think Data::Dumper will do this for you, but this oughta do the trick:

my $hashref = { 'Blue' => 1, 'COW' => 3 }; print "$_\t$hashref->{$_}\n" for keys %$hashref;

_______________
DamnDirtyApe
Those who know that they are profound strive for clarity. Those who
would like to seem profound to the crowd strive for obscurity.
            --Friedrich Nietzsche

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2020-05-27 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (153 votes). Check out past polls.

    Notices?