Perl Programming/Keywords/for
Appearance
The for keyword
[edit | edit source]for is the keyword used to start a for loop.
Syntax
[edit | edit source] for (my $var = <value>; <condition>; <operation on $var>) …;
Previous: flock | Keywords | Next: foreach |
for is the keyword used to start a for loop.
for (my $var = <value>; <condition>; <operation on $var>) …;
Previous: flock | Keywords | Next: foreach |