The last element in the array was not the length of the array!!!! Therefore it was creating a new array that was too long...and splicing on that the next generation!!!my $lastval = $holder[$#holder]; @holder = (1 .. $lastval);
fixes the problem! WOW this is a great feeling having fixed it! Is this how you monks feel every day?$num_of_elements = scalar @holder; @holder = (1 .. $num_of_elements);
In reply to Re: So close...
by BioNrd
in thread So close...
by BioNrd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |