Piers Cawley writes:
: Jonathan Scott Duff <[EMAIL PROTECTED]> writes:
: 
: > On Wed, Apr 03, 2002 at 11:27:10AM -0800, Larry Wall wrote:
: >> They are assumed to be declared in alphabetical order.  Whoa! you say,
: >> that could get confusing.  It surely can.  But if you're doing
: >> something complicated enough that alphabetical order would be
: >> confusing, don't use this shorthand.  
: >
: > Alphabetically or asciibetically?  I mean, are these functionally
: > equivalent?

It's utf8ical, actually.

: >     { $^a - $^A }
: >     { $^b - $^a }

Yes, they're equivalent.  But don't do that.

: I'm assuming it can't be strictly asciibetical, given that $^2 sorts
: before $^10.

It's strictly utf8ical.  Use $^02 if you're really insane enough to 
have 10 curried parameters.  Or got to hex $^2 .. $^a.

: What's happened with C<{ $^_ - $^_ }>? Are those two the same
: parameter now? Or two different 'anonymous' parameters?

$^_ would sort between the lower case letters and the uppercase.

$_ is preferred if there is only one parameter.  It's special-cased
to alias the first parameter in any bare closure.

Larry

Reply via email to