> > my %students : sorted( $ME{^1}{GPA} <=> $ME{^0}{GPA} ); > > > Yes, I was thinking the same thing. Except the '$ME' thing--what's that? (I > must have missed that discussion...) It's an idea that within a method call, the object reference would not be passed as the first argument (or maybe, not *just* as the first argument), but in a variable named $ME. I was pushing that envelope a little. > What's wrong with @_? We're trying to sort like this: sort $student{^1}{GPA} <=> $student{^0}{GPA} ), keys %student; Within the %student's internals, %student is %ME :-) Damian
- Re: RFC 124 (v1) Sort order for any hash Tom Hughes
- Re: RFC 124 (v1) Sort order for any hash Hildo Biersma
- Re: RFC 124 (v1) Sort order for any hash Hildo Biersma
- Re: RFC 124 (v1) Sort order for any hash Jonathan Scott Duff
- Re: RFC 124 (v1) Sort order for any hash ... David L. Nicol
- Re: RFC 124 (v1) Sort order for any hash Damian Conway
- Re: RFC 124 (v1) Sort order for any hash David L. Nicol
- Re: RFC 124 (v1) Sort order for any hash David L. Nicol
- Re: RFC 124 (v1) Sort order for any hash Damian Conway
- Re: RFC 124 (v1) Sort order for any hash Jeremy Howard
- Re: RFC 124 (v1) Sort order for any hash Damian Conway
- Re: RFC 124 (v1) Sort order for any h... David L. Nicol
- Re: RFC for $ME class variable (was ... Damian Conway
- Re: RFC for $ME class variable (... Randal L. Schwartz
- Re: RFC for $ME class variab... John Siracusa
- Re: RFC for $ME class variab... Damian Conway
- Re: RFC for $ME class variab... John Siracusa
- Re: RFC for $ME class variab... Nathan Wiger
- Re: RFC for $ME class variab... Bart Lateur
- Re: RFC for $ME class variab... Nathan Wiger
- Re: RFC for $ME class variab... Randal L. Schwartz