Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: How to safely use $_ in a library function?

by vsespb (Chaplain)
on Sep 17, 2013 at 12:31 UTC ( #1054428=note: print w/replies, xml ) Need Help??


in reply to Re: How to safely use $_ in a library function?
in thread How to safely use $_ in a library function?

Yep, and still localize it to make code reentrant:
local $MyLibrarysGlobalCallStackInformation;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054428]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2017-04-23 13:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (430 votes). Check out past polls.