in reply to Re: Testing multiple variables against the same criteria (IF statement)
in thread Testing multiple variables against the same criteria (IF statement)
Or even:
c:\@Work\Perl>perl -wMstrict -le "my @ra = (0, 0, 0, 1, 0); ;; my $test_succeeded; $test_succeeded = 1 == $_ and last for @ra; ;; print 'succeeded!' if $test_succeeded; " succeeded!
Give a man a fish: <%-{-{-{-<
|
|---|