is better written asdie "Unknown char! \n" unless exists $testHash{$_} for (@test);
die "Unknown char! \n" unless grep { exists $testHash{$_} } @test;
In reply to Re: checking array elements aginst another array
by Anonymous Monk
in thread checking array elements aginst another array
by coldy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |