On Thu, Oct 20, 2005 at 11:31:03AM -0700, Nate Wiger wrote: > $1 is a prime example. $0 means the program name (all scopes). $1 is the > first match. It's been that way for a very, very, very long time, and > it works just great. There is no *compelling* reason to change this, > other than to satisfy a few people that think it "should be different".
I cannot agree. The reason you give is not "compelling". Neither is the more important reason, that it regularises the numbers when using an array lookup to find matches, $1 being $/[1], IIRC. But there are good reasons to change, and better reasons than you state. Nicholas Clark