in reply to Re^4: How to determine if an array contains an undef value?
in thread How to determine if an array contains an undef value?
$ perl -MO=Deparse -le " while (my $val = shift @array) { print $val } + " BEGIN { $/ = "\n"; $\ = "\n"; } while (my $val = shift @array) { do { print $val }; } -e syntax OK
$error_count++ and next if some_condition();
Comma to the rescue
$error_count++, next if some_condition();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How to determine if an array contains an undef value?
by Laurent_R (Canon) on Jan 05, 2015 at 23:22 UTC | |
by thanos1983 (Parson) on Jan 06, 2015 at 14:59 UTC |