in reply to perl sorting

my @sorted = sort {substr($a,4) <=> substr($b,4)} @array; foreach (sort {substr($a,4) <=> substr($b,4)} keys %hash_actually) { ... }


When's the last time you used duct tape on a duct? --Larry Wall

Replies are listed 'Best First'.
Re: Re: perl sorting
by Anonymous Monk on May 06, 2004 at 21:11 UTC
    you guys are amazing.