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

Re: subroutine reference parameters

by lidden (Deacon)
on Jun 03, 2011 at 14:40 UTC ( #907990=note: print w/ replies, xml ) Need Help??


in reply to subroutine reference parameters

It seems using the hash as an argument in the function call makes it reset the internal iterator used by each, thats why you get an infinite loop.

Also you are declaring your function with a prototype, but when you call it you use an &. The & disables the prototype check.


Comment on Re: subroutine reference parameters
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2014-09-18 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (120 votes), past polls