Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Lexicals in if() scope gotcha!

by dragonchild (Archbishop)
on Mar 31, 2004 at 00:25 UTC ( #341155=note: print w/ replies, xml ) Need Help??


in reply to Lexicals in if() scope gotcha!

Is there any reason why it gets an extra refcount? On first examination, there doesn't seem to be any good reason to give it the extra refcount ...

Read BrowserUk's excellent response further down the thread for why I <strike>d my kneejerk response.

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose


Comment on Re: Lexicals in if() scope gotcha!
Re: Re: Lexicals in if() scope gotcha!
by Ovid (Cardinal) on Mar 31, 2004 at 06:55 UTC

    ...my kneejerk response.

    Don't be so hard on yourself. This is hardly an intuitive issue :)

    Cheers,
    Ovid

    New address of my CGI Course.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2014-04-20 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (488 votes), past polls