Intriguing. You use $i here: for ($i=0;$i<=(scalar(@blocks));$i++)
But then use $index here: if($blocks[$index]=~m/^\d/) ?
i have successfully executed scripts larger than this one,
It isn't the size of the script that counts; it is the size of the data.
And as you haven't shown us how you are populating @blocks; nor told us how big that array is, there is nothing we can to to help you.
In reply to Re: out of memory!
by BrowserUk
in thread out of memory!
by rocketperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |