< Perl Programming < Keywords

The break keyword

The break command breaks out of a given() block. As this keyword is enabled by the switch feature, a use 5.10; is needed.

Syntax

  break

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.