You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
$number = 1;
|
|
|
|
while ( $number <= 5 ) {
|
|
|
|
if ( $number <= 10 ) {
|
|
print "$number ";
|
|
++$number;
|
|
redo; # Continue loop without testing ( $number <= 5 )
|
|
}
|
|
}
|
|
|
|
print "\nStopped when \$number became $number.\n"; |