If you really intend to discard part of the result of a split, it's clearer to write
than to write(undef, $etc) = split(/\s+/, $_) if (/^# input.*/);
($etc,$etc) = split (/\s+/, $_) if (/^# input.*/);
In reply to Re: print to output problem
by dws
in thread print to output problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |