Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, all grurs, Can someone help me understand the difference between the "local" and "my"? Thanks alot.

Replies are listed 'Best First'.
Re: Private var - which local or my?
by Mr. Muskrat (Canon) on Dec 30, 2002 at 22:55 UTC
Re: Private var - which local or my?
by gjb (Vicar) on Dec 30, 2002 at 22:56 UTC
Re: Private var - which local or my?
by broquaint (Abbot) on Dec 31, 2002 at 11:55 UTC
    <plug>

    If the various mentionings of lexical and dynamic scoping befuddle you then I'd recommend Lexical scoping like a fox.

    </plug>

    _________
    broquaint