in reply to Re: Out of Memory selecting from MySQL
in thread Out of Memory selecting from MySQL
Indeed. There is also no need to duplicate the temporary array into an anonymous array. You can just take a reference to it:
my @a; while( my @temp = split ',', <STDIN> ) { push @a, \@temp } print "@$_" for @a;; a,b,c e,f,g 1,2,3 ^Z a b c e f g 1 2 3
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Out of Memory selecting from MySQL
by Somni (Friar) on Oct 12, 2007 at 09:10 UTC |