in reply to How to split a document at a column

you can use substr for that:
perl -i.bak -ple 'substr($_, 25, 0, " ") if length > 24' filename.txt

Replies are listed 'Best First'.
Re^2: How to split a document at a column
by ikegami (Patriarch) on Mar 29, 2007 at 13:25 UTC
    I find it odd that you add a space at the end of "1234567890123456789012345", but you don't add any spaces at the end of "123456789012345678901234".