Syntactic Confectionery Delight | |
PerlMonks |
Re^2: Splitting a long stringby almut (Canon) |
on Aug 22, 2007 at 09:59 UTC ( [id://634289]=note: print w/replies, xml ) | Need Help?? |
Minor nitpick: to get the last block of 400 chars as well, that regex should be /.{1,1000}/g, i.e. min 1, max 1000.
In Section
Seekers of Perl Wisdom
|
|