Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^5: print a hash ref

by SuicideJunkie (Vicar)
on Jul 09, 2013 at 15:15 UTC ( [id://1043336]=note: print w/replies, xml ) Need Help??


in reply to Re^4: print a hash ref
in thread print a hash ref

You should not have 114 prints.

Try replacing them with a loop around a single print:

print "$key : $hash{key}\n" for (keys %hash)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found