Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Conditional initialisation

by broquaint (Abbot)
on May 20, 2004 at 02:35 UTC ( #354829=note: print w/ replies, xml ) Need Help??


in reply to Conditional initialisation

This behaviour is somewhat of a bug, in that it's unexpected behaviour, but it's not going away anytime soon. It is caused by perl not clearing it's lexical pads on exit, for efficiency reasons. See. the classic Unusual Closure Behaviour for an exhausitive discussion on the subject.

HTH

_________
broquaint


Comment on Re: Conditional initialisation
Re: Re: Conditional initialisation
by Akhasha (Scribe) on May 20, 2004 at 02:54 UTC
    Many thanks, that node is precisely what I was after.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-12-25 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls