in reply to Check if sort has changed order
my @f = ( 4, 2 ); my @g = sort @f; if( "@f" eq "@g" ){ die "already sorted, can't have that\n" }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Check if sort has changed order (eq)
by Anonymous Monk on May 10, 2013 at 09:47 UTC | |
by Krambambuli (Curate) on May 10, 2013 at 10:43 UTC | |
by Anonymous Monk on May 10, 2013 at 23:03 UTC | |
Re^2: Check if sort has changed order (eq)
by BillKSmith (Monsignor) on May 10, 2013 at 12:24 UTC |