in reply to need urgent help for
Alternatively, if the last element of the lines being does not ever change, you would need to split the line only once and could open and close the file handle being written to outside of the loop, and read & write in consecutive statements.
Another variation could be is to save the file being read in a variable and write the value of that variable after everything has been read.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: need urgent help for
by talexb (Chancellor) on Jan 14, 2013 at 17:51 UTC | |
by Your Mother (Archbishop) on Jan 14, 2013 at 21:31 UTC |