Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Retunining hash values from subroutines

by hbm (Hermit)
on Jun 20, 2013 at 11:31 UTC ( [id://1039955]=note: print w/replies, xml ) Need Help??


in reply to Retunining hash values from subroutines

In addition to bart's comments, you define %UID_PATH three times:

  • globally, which you don't use
  • at the start of your sub
  • within the while loop (the effect of which you will see when you move the 'return' out of the loop)

Keep only the second.

  • Comment on Re: Retunining hash values from subroutines

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found