Run perldoc on "truncate" and "seek" to find out how to remove the old content after reading.
In reply to Re: Reading a file before clobbering it for output...
by bluto
in thread Reading a file before clobbering it for output...
by Speedfreak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |