Perl Programming/Keywords/for

Previous: flock Keywords Next: foreach

The for keyword

edit

for is the keyword used to start a for loop.

Syntax

edit
  for (my $var = <value>; <condition>; <operation on $var>) ;

See also

edit
Previous: flock Keywords Next: foreach