in reply to Comparison problem

Perhaps you mean to say something like:

push @$x, $digit{$nu} unless grep { $_ eq $digit{$nu} } @$x;
--
edan

Replies are listed 'Best First'.
Re^2: Comparison problem
by emav (Pilgrim) on Oct 27, 2004 at 16:06 UTC
    That worked, too!

    Hmmm... I'd better do some more reading on "grep" and "map".