Larry Wall wrote:

I'm still thinking A is the first one and Z is the last one.  Someone
talk me out of it quick.

I had thought about A and Z before my previous post. I dismissed it for two reasons:

1) Using Alphas as an index for something that should be numeric can be very confusing. Especially when one sees:

@Int[4 .. Z];

2) If A = first and Z = last, DWIM (but maybe not DWYM) would dictate that I should be able to say:

@Int[C .. Y];

instead of:

@Int[A+2 .. Z-1];



That's why I liked the concept of an operator to modify the number afterwards. Okay, Î might not have been the best choice, but there are other options. Looking at your preferred Latin-1 table, we have:

 (§) "Use this Section of the array"
 (®) The R means "Relative to base"

Or if we want to get silly, use  instead of .., and just use the numbers as is.


If you insist on using A and Z, at least make them \A and \Z, to give a stronger visual cue that something different is happening.


-- Rod




Reply via email to