http://www.perlmonks.org?node_id=482102


in reply to Add Contents At last in a File

Hello

Take a look at File::Slurp and File::Butler

use File::Slurp; $F='Add Some Text at last'; append_file( 'd:\swift\file.tmp', $F ) ;