in reply to Breaking up a really long string

Perhaps you could use unpack.

$ perl -le ' > $str = q{x} x 97; > print for unpack q{(A10)*}, $str;' xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxx $

I hope this is helpful.

Cheers,

JohnGG