< Perl Programming < Keywords

The for keyword

for is the keyword used to start a for loop.

Syntax

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

See also

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.