on Fri, 19 Apr 2002 00:05:58 GMT, [EMAIL PROTECTED] (Pradeep Sethi) wrote:
> Obviously they're treated differently by perl because $::MY_VARIABLE > does not equal $MY_VARIABLE. $::MY_VARIABLE is a shorthand for $main::MY_VARIABLE, which is a (global) package variable. A variable declared with 'my' is a lexical variable, or a 'real local' variable. See M-J. Dominus' article 'Coping with Scoping' at <http://perl.plover.com/FAQs/Namespaces.html> for an excellent introduction to this kind of stuff. -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]