Hello Paul, Wednesday, August 22, 2007, 3:21:06 PM, you wrote:
> On Aug 22, 1:18 am, [EMAIL PROTECTED] (Alexandru Maximciuc) > wrote: >> Wednesday, August 22, 2007, 7:44:02 AM, you wrote: >> >> > unless (grep $item eq $_, %$all_ref{$crew}) { >> >> this does the job well (I think ) >> unless (grep $item eq $_, $all_ref->{$crew}) { No. $all_ref->>{$crew} is a reference to an array. It needs to be > dereferenced. > unless (grep $item eq $_, @{$all_ref->{$crew}}) { > Please read: > perldoc perlreftut > perldoc perllol > perldoc perldsc > Paul Lalli sorry.. you're right.. my mistake :-| (didn't look carefully at the results) ^:)^ -- Best regards, Alexandru mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/