in reply to Syntax error if clausule

Let me optimise your code for you: The resulting code is:
foreach my $card (@allcards) { push @resthand, grep { $_ != $card } @userinput[0..6]; }
Sorry if my advice was wrong.

Replies are listed 'Best First'.
Re^2: Syntax error if clausule
by robertw (Sexton) on Aug 17, 2012 at 01:44 UTC
    Thanks you guys so much:)