in reply to
line break after 64 characters
This should work:
$string =~ s/(.{64})/$1\n/g;
[download]
Comment on
Re: line break after 64 characters
Download
Code
In Section
Seekers of Perl Wisdom