in reply to RE: Return a Unique Array
in thread Return a Unique Array

Should be: my $i=1 otherwise you overwrite the first element and are then missing the first element.

Replies are listed 'Best First'.
Re^3: Return a Unique Array
by Anonymous Monk on Apr 11, 2014 at 06:49 UTC
    Oops, no it shouldn't, my mistake. $i=0 is correct.