You haven't given us enough code to see where your problem is, but I'd suggest that you use strictures (use strict; use warnings;) and use a Perl for loop rather than the while loop:
use strict; use warnings; my $average = 3; for my $i (1 .. $average) { print qq~dibbly\n~; }
Prints:
dibbly dibbly dibbly
In reply to Re: while loops with two tests not working.
by GrandFather
in thread while loops with two tests not working.
by Eagle_f90
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |