my @f = ( 4, 2 ); my @g = sort @f; if( "@f" eq "@g" ){ die "already sorted, can't have that\n" }
In reply to Re: Check if sort has changed order (eq)
by Anonymous Monk
in thread Check if sort has changed order
by HYanWong
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |