in reply to Re^4: Empty File Contents before writing
in thread Empty File Contnts before writing
The help for truncate says
The position in the file of FILEHANDLE is left unchanged. You may want + to call seek before writing to the file.
So, any ideas why your code works without needing a seek 0?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Empty File Contents before writing
by johngg (Canon) on Feb 19, 2013 at 14:37 UTC |
In Section
Seekers of Perl Wisdom