Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2016-09-01 01:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (437 votes). Check out past polls.