> > =head2 Choice of notation > > > > The placeholder notation has been chosen to be consistent with the > > eisting Perl scalar notation (but using a ^ prefix rather than a $): > > > > Role Scalar Placeholder > > var analog > > > > named $x, $y ^x, ^y > > positional $0, $1, $2 ^0, ^1, ^2 > > default $_ ^_ > > As I voiced before, this is incorrect. $0 is not a positional scalar. That's it! I'm gonna take that whole section out and burn it! But I'm *never* going to take out ^0. Having ^1 mean $_[0] is Just Plain Wrong. > Either we need to change $1 to $0, or change ^0 to ^1. Considering $0 > has been around a little while longer than HOFN, I strongly suggest we > change ^0 to ^1 to be consistent. $1 is the *only* place in Perl where an index starts at 1. *It's* the one that's inconsistent. Fix *it*. > I realize this RFC has been frozen, but this is an important issue. And > remember, Mike Pastore and I were the ones who suggested this whole ^ > notation, y'know. ;-) A fact I gratefully acknowledge. Doesn't make you correct, though! ;-) > Other than this issue the RFC is excellent^Wamazing. In large measure because it has been destruction-tested by so many clever and committed people such as yourself. :-) DamianThread Previous | Thread Next