use strict; local $\ = "\n"; local $_ = 'x' x 1000; my $pat = qr/.{1,80}/; while (/($pat)/g) { print $1; }
In reply to Re: Breaking up a really long string
by caelifer
in thread Breaking up a really long string
by mhearse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |