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".
> ZN> Because of this, $123 is an invalid name, but why $000 or $000000 works?
> 
> I think it has something to do with regular expressions, you use
> $[1-9] for back references, and $0 is unused (?)
> 

This shouldn't be the reason, as $0 'contains the name of the program
being executed'.
-- 
Zeng Nan           
Simple is Beautiful.
~~~~~~~~~~~~~~~~~~~~
PGP Key:  http://hobbit.homeunix.org

Attachment: pgpopovrh3jC7.pgp
Description: PGP signature

Reply via email to