in reply to How to split a document at a column


Isn't this something you can easily do with a regex?
Something along the lines of:

my $text = ''; # put your complete works of Willie here my $separator = '|'; # and your separator here $text =~ s/[\^\n]([^\$\n]{25})/$1$separator/sg; print $text;

if( exists $aeons{strange} ){ die $death unless ( $death%2 ) }