Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: number of keys and values in a hash

by jethro (Monsignor)
on Oct 12, 2011 at 19:59 UTC ( #931082=note: print w/replies, xml ) Need Help??


in reply to Re^2: number of keys and values in a hash
in thread number of keys and values in a hash

Naturally when you put a print statement inside a loop it prints as often as the loop is executed. And when you have a print statement inside a loop inside another loop, this print statement will be executed much much more often. If you don't want to print so many times, put the print statement AFTER the loop(s).

  • Comment on Re^3: number of keys and values in a hash

Replies are listed 'Best First'.
Re^4: number of keys and values in a hash
by veerubiji (Sexton) on Oct 13, 2011 at 09:13 UTC
    thanks

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2022-01-18 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (52 votes). Check out past polls.

    Notices?