How to empty a file with Perl Oct 26, 2016 by David Farrell data truncate open filehandle vim As easy as you’d expect it to be Read it