in reply to Re: Memory leak while printing ?? Don't think so....
in thread Memory leak while printing ?? Don't think so....

Looking at your code more carefully,

foreach my $row (@{$array1[$msmtable]}){ print OUT "$array1[$msmtable][$row][$x],"; }

I see that $row is a reference to an array, yet you're using that reference as an index. There's the large number we were looking for.

>perl -E"say 0+[];" 6994484

You want:

foreach my $row (@{$array1[$msmtable]}){ print OUT "$row->[$x],"; }

Replies are listed 'Best First'.
Re^3: Memory leak while printing ?? Don't think so....
by baxy77bax (Deacon) on Aug 01, 2011 at 10:06 UTC
    Yes you are correct in both, this means that i'm done for today, because i sincerely did not see the second one (need a break)!! Thank you and ++ for prompt and helpful reply !!

    baxy