-Original Message-
From: David L. Nicol [mailto:[EMAIL PROTECTED]]
How about
%students : ( sort = $$students{^1}{GPA} <=> $$students{^0}{GPA} });
O, this is cool.
-Original Message-
my %students : sorted( $ME{^1}{GPA} <=> $ME{^0}{GPA} );
And th
-Original Message-
From: Damian Conway [mailto:[EMAIL PROTECTED]]
And don't forget to include my idea that $ME be scoped locally like
$AUTOLOAD, so that the "self" and "this" and "I" and "myself" camps can
have their respective cakes but the rest of us don't have to eat them:
[...]
Correct me if I'm wrong here, but I think what David wanted was an easy way
to reference other keys of an hash while creating one, ie:
How to do this, in a line:
%h = ( first => 10 );
$h{second} = $h{first} * 2;
Because, as I'm sure you know, this code (when run w/out strict):
-Original Message-
From: Jonathan Scott Duff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 23, 2000 1:06 PM
To: David L. Nicol
Cc: Nathan Torkington; [EMAIL PROTECTED]
Subject: Re: PROTOPROPOSAL FOR NEW BACKSLASH is still Re: implied
pascal-like"with" or "express"
[...]
How special p
-Original Message-
From: Bart Lateur [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 23, 2000 7:00 PM
To: [EMAIL PROTECTED]
Subject: Re: PROTOPROPOSAL FOR NEW BACKSLASH was Re: implied pascal-like
"with" or "express"
On Tue, 22 Aug 2000 00:03:48 -0600 (MDT), Nathan Torkington wrote: