Note: 'undef' must be enclosed with parentheses to force list context for 'x' operator.( my $key, (undef) x 5, my $val) = split(/\s+/, $_);
In reply to Re^3: Avoiding repeated undefs
by rsFalse
in thread [Solved] Avoiding repeated undefs
by davies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |