[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] pop (keys %hash) ?

> sub { $a cmp $b } is the default sort function, so there is no need to
> specify it, and doing so might even slow down your code.
> Not sure what you would do with a Schwartzian Transform here, since the
> sort function in this code is already as simple as it can be.


That was just an example - maybe I shouldn't have used the
default.  Insert your own sort function, please (including, but
not necessarily requiring, ST).

Chris reiterated that there is no dependable order, so I merely
suggested ordering - however you'd like to.


===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org