Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Dump the key value pairs in a hash

by choroba (Cardinal)
on Oct 22, 2021 at 20:21 UTC ( [id://11137900]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print map { "Key: $_ has Value:$self->{$_}\n" } keys %$self;
    #                                   ~~               ~
    
  2. or download this
    use Data::Dumper;
    ...
    print Dumper($self);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 10:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found