in reply to Re: flushing the data from array
in thread flushing the data from array
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: flushing the data from array
by kyle (Abbot) on Jan 14, 2008 at 19:45 UTC | |
|
Re^3: flushing the data from array
by roboticus (Chancellor) on Jan 15, 2008 at 00:11 UTC | |
|
Re^3: flushing the data from array
by blazar (Canon) on Jan 15, 2008 at 15:01 UTC |