I guess we need to wait untill the loop finish the process and entire data in the memory. Instead of doing this, Is there any ways to return the array data then and there. Did you get my point ? -kulls#!/usr/bin/perl my (@array,$r); for(1..5000000) { $r=($_ * 100 + 300 + 200); push @array, $_; } return \@array;
In reply to Re^2: flushing the data from array
by kulls
in thread flushing the data from array
by kulls
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |