in reply to Re: Use of uninitialized variables?
in thread Use of uninitialized variables?

I agree with kyle about the probable confusion on the part of the OP's co-worker concerning the purpose and behavior of package and lexical variables.

Furthermore, if you have a Perl 5 'class', it is probably based on the package mechanism. If in this class (i.e., package) there exist package and lexical (i.e., my) variables with the same name, this probably represents a problem in and of itself: someone is going to get terribly confused and the whole affair will end in tears.

Replies are listed 'Best First'.
Re^3: Use of uninitialized variables?
by Anonymous Monk on Jun 11, 2008 at 18:51 UTC
    And yet furthermore, the existence of a package (hence global) variable is, in and of itself, cause for suspicion during code review or at any other time.