in reply to line break after 64 characters

An alternative could be Text::Wrap:

use Text::Wrap; $Text::Wrap::columns = 65; print wrap("", "", $string);
HTH,
Paul