http://www.perlmonks.org?node_id=341155


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

Replies are listed 'Best First'.
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.