|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re^4: Empty File Contents before writingby johngg (Abbot) |
| on Feb 19, 2013 at 10:04 UTC ( #1019505=note: print w/ replies, xml ) | Need Help?? |
|
There is also a built-in function called truncate that will do what you want.
Update: Added example code. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||