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 (Hermit)
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;


Comment on Re^2: How to safely use $_ in a library function?
Download Code

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 contemplating the Monastery: (7)
As of 2015-01-25 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (181 votes), past polls