in reply to print to output problem
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.*/);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: print to output problem
by Anonymous Monk on Jul 07, 2004 at 16:50 UTC |