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

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1066972]
[Lady_Aleena]: Would someone please derail my train of thought?
[Discipulus]: marto as Marcus Manlius Capitolinus
[Discipulus]: use Dynamite; Lady_Aleena
[Lady_Aleena]: That's the problem. I have 29 scripts, 3 modules, and gads of data I am thinking about deleting out of anger over an API change that made all of those things worthless.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2017-05-25 07:28 GMT
Find Nodes?
    Voting Booth?