You have a *lot* of syntax issues that you'd see if you put
use warnings; use strict;
at the top of your script. Also, when I do correct the errors, I'm not sure what to expect as output. Where are @prdct and @prdct1 defined?
Please put your code in <code></code> tags as Laurent_R stated, use proper indentation, show us what the two arrays I mentioned above should have in them, and what exactly you expect as output.
-stevieb
In reply to Re: nested while loops
by stevieb
in thread nested while loops
by sivaratna
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |