Re: why $000 is a valid variable name?

2004-11-18 Thread Ing. Branislav Gerzo
Zeng Nan [ZN], on Thursday, November 18, 2004 at 13:43 (+0800) wrote these comments: ZN As said in Learning Perl, a perl identifier is a letter or ZN underscore, and then possibly more letters, or digits, or underscores. ZN Because of this, $123 is an invalid name, but why $000 or $00 works?

Re: why $000 is a valid variable name?

2004-11-18 Thread Wiggins d Anconia
Zeng Nan [ZN], on Thursday, November 18, 2004 at 13:43 (+0800) wrote these comments: ZN As said in Learning Perl, a perl identifier is a letter or ZN underscore, and then possibly more letters, or digits, or underscores. ZN Because of this, $123 is an invalid name, but why $000 or $00

RE: why $000 is a valid variable name?

2004-11-18 Thread Larsen, Errin M HMMA/IT
Zeng Nan [ZN], on Thursday, November 18, 2004 at 13:43 (+0800) wrote these comments: ZN As said in Learning Perl, a perl identifier is a letter or ZN underscore, and then possibly more letters, or digits, or underscores. ZN Because of this, $123 is an invalid name, but why $000

RE: why $000 is a valid variable name?

2004-11-18 Thread Chris Devers
On Thu, 18 Nov 2004, Larsen, Errin M HMMA/IT wrote: BUT ... When I removed the warnings and strict, and stopped using my, it works: Which is all the more reason to always use warnings strict! :-) -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: why $000 is a valid variable name?

2004-11-18 Thread Chasecreek Systemhouse
On Thu, 18 Nov 2004 09:28:07 -0500 (EST), Chris Devers [EMAIL PROTECTED] wrote: On Thu, 18 Nov 2004, Larsen, Errin M HMMA/IT wrote: BUT ... When I removed the warnings and strict, and stopped using my, it works: Which is all the more reason to always use warnings strict! :-) !!! I

RE: why $000 is a valid variable name?

2004-11-18 Thread Jose Alves de Castro
On Thu, 2004-11-18 at 14:27, Larsen, Errin M HMMA/IT wrote: BUT ... When I removed the warnings and strict, and stopped using my, it works: replacing my with our does the trick too. -- José Alves de Castro [EMAIL PROTECTED] http://jose-castro.org/ -- To unsubscribe, e-mail: [EMAIL

Re: why $000 is a valid variable name?

2004-11-18 Thread Zeng Nan
On Thu, Nov 18, 2004 at 02:15:45PM +0100, Ing. Branislav Gerzo wrote: Zeng Nan [ZN], on Thursday, November 18, 2004 at 13:43 (+0800) wrote these comments: ZN As said in Learning Perl, a perl identifier is a letter or ZN underscore, and then possibly more letters, or digits, or underscores.

Re: Why $000 is a valid variable name?

2004-11-18 Thread Peter Scott
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Zeng Nan) writes: According to Learning Perl, a variable name should be a letter or underscore, and then possibly more letters, or digits, or underscores. But why $000 or $ works? As also said in Learning Perl, you should declare all your