Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Elements added to hash in for loop

by 2teez (Priest)
on Dec 13, 2013 at 05:10 UTC ( #1066972=note: print w/ replies, xml ) Need Help??


in reply to Elements added to hash in for loop

Or something like:

sub next_clauseid { my $current_id = shift(@_); ...
Note the usage of shift

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me


Comment on Re: Elements added to hash in for loop
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-09-16 02:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (155 votes), past polls