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

Re: Retunining hash values from subroutines

by hbm (Hermit)
on Jun 20, 2013 at 11:31 UTC ( #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? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2021-09-19 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?