in reply to print to output problem
The only times $val is assigned to it is conditional upon the input and at no point are you resetting the value of $val, therefore if the first line matches and no further lines do then $val will retain the same value and @outlines will be populated with identical values.
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: print to output problem
by Anonymous Monk on Jul 07, 2004 at 17:08 UTC |