Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PERL

perl while loop

# Basic syntax:
while( condition ) {
   code to run;
}

# Example usage:
my $i = 5;
while( $i < 10 ) {
   print "Value of i: $i
";
   $i += 1;
}
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #perl #loop
ADD COMMENT
Topic
Name
8+3 =