Help for this page
use Text::Wrap; ... open(FH,">new$file"); $Text::Wrap::columns = 40; print wrap('','',@text);