Jump to content

Perl Programming/Keywords/break

From Wikibooks, open books for an open world
Previous: bless Keywords Next: caller

The break keyword

[edit | edit source]

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

[edit | edit source]
  break

See also

[edit | edit source]
Previous: bless Keywords Next: caller