PPI::Statement::Break3pm
Statements which break out of normal statement flow
Usage
last;goto FOO;next if condition();return $foo;redo;
Inheritance
PPI::Statement::Breakisa PPI::Statementisa PPI::Nodeisa PPI::Element
Overview
"PPI::Statement::Break" is intended to represent statements that break out of the normal statement flow control. This covers the basic types 'redo', 'goto', 'next', 'last' and 'return'.
Methods
"PPI::Statement::Break" has no additional methods beyond the default ones provided by PPI::Statement, PPI::Node and PPI::Element.
However, it is expected to gain methods for identifying the line to break to, or the structure to break out of.
To do
- Add the methods to identify the break target
- Add some proper unit testing
Support
See the support section in the main module.
Releases
11 releases since Debian 4.0 (Etch); the text changed 10 times.