perl -MO=Deparse,-p -e '$a->[1] cmp $b->[1] or $a->[2]//"" cmp $b->[2] +//""'
See also Re^2: Do people find warning for undef with string compare useful?.
In reply to Re^4: sorting an array if sting having _
by choroba
in thread sorting an array if sting having _
by saiprathapreddy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |