Hi david2008,
If you use warnings; you would have seen this message: Sort subroutine didn't return single value at line ...
so using this
would resolve the issue. Try itprint "sorted unique results\n"; print Dumper( [ sort( uniq( @x, @y ) ) ] );
In reply to Re: why does sort with uniq not work together
by 2teez
in thread why does sort with uniq not work together
by david2008
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |