Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PERL

perl for loop

# Basic syntax:
for ( init; condition; increment ) {
    code to run;
}

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