My current perl doesn't have a problem with
when @xdata is empty, but maybe you have an older one, and it infinite loops on the 0..-1?for (0..$#xdata) { push @frmt, [ $xdata[$_], \@{$ydata} ] }
I know this is below where you think the script stops, but I notice that you don't do your data dump until 3 lines past the close...
I don't recall if perl ever had such a misbehaviour, but it could explain why things don't work the way you expect, since @xdata is populated in the part of the loop where you're looking at @_ instead of @values.
Please try
from the command line, and make sure it returns without printing anything. If that's the case, this isn't the bug. If it DOES print out an endless stream of numbers, then there is your problem.perl -e'for(0..$#a){print "$_\n"}'
In reply to Re: Re: Out of memory help
by RMGir
in thread Out of memory help
by dimmesdale
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |