in reply to boolean IN(); function in perl like
my @found = grep { $e eq $_ } @a; #or print "yes" if grep { $e eq $_ } @a;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: boolean IN(); function in perl like
by xdg (Monsignor) on Jan 14, 2005 at 21:40 UTC | |
by gaal (Parson) on Jan 14, 2005 at 22:02 UTC |