in reply to why does sort with uniq not work together
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 ) ) ] );
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
In Section
Seekers of Perl Wisdom