in reply to Re: Variable and object scoping
in thread Variable and object scoping

Yes, it would be better.

Anyway, Angel's code would work correctly. Angel, just one thing: use foo(), not &foo. Just for style ;-)

-- 
        dakkar - Mobilis in mobile

Replies are listed 'Best First'.
(bbfu) Re3: Variable and object scoping
by bbfu (Curate) on Nov 26, 2002 at 23:59 UTC

    use foo(), not &foo. Just for style ;-)

    And to not bypass prototypes, and to not accidentally use @_ magic, and to be consistent with method calls... :)

    bbfu
    Black flowers blossum
    Fearless on my breath