in reply to schwartzian transform and sorting on two columns

It sounds like you want:
sort { $a <=> $b or $c cmp $d }

Replies are listed 'Best First'.
Re^2: schwartzian transform and sorting on two columns
by thor (Priest) on Sep 08, 2005 at 13:19 UTC
    I know that $a and $b are perl's special variables that are used in sort, but these new $c & $d variables are a mystery...

    thor

    Feel the white light, the light within
    Be your own disciple, fan the sparks of will
    For all of us waiting, your kingdom will come