|Subject:||bug: uniq doesn't like undef values.|
When using uniq on an array with undef values, warnings complains loudly. "Use of uninitialized value in subroutine entry at line 7". Although the correct uniq results will be returned, warnings doens't like it much. === use warnings; use List::MoreUtils qw(uniq); use Data::Dumper; my @foo = ('a','b', undef, 'b'); @foo = uniq @foo; # line 7. print Dumper \@foo; === This is perl 5.8.8 on linux.