in reply to Re: Parsing Form Input
in thread Parsing Form Input
actually i threw a constant in there as well. it won't simplify the loop, but it should ease maintenance.sub LIMIT () { 100 } my @chunk; while( my $chunk = substr( $initial, 0, LIMIT, '') ) { push @chunks, $chunk; }
~Particle ;Þ
|
|---|