If $val1 or $val2 is undef $result is undef too. Is there a way to change this behaviour or maybe a smart solution ?($result) = sort ($val1, $val2) ; print $result ;
In reply to sort and undef by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |