the final loop values. > One solution: declare @mytemp within -- rather than outside -- > the loop. This allocates new memory for @mytemp during > each loop iteration to prevent overwriting. > > while(<$myfile>) > { > ($a, $b $c ) = getparameter(); > my @mytemp = ($a, $b, $c); > ... > > > -- > Charles DeRykus > > > Yes, this was it and I didn't noticed it.
Thank you very much. Just want to say that this was not the actual code, its very simplified to point out the problem. Gruss Christian -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/