PPI::St...t::Break(3)
π PPI::St...t::Break π
okay so bestie, welcome to the PPI::St...t::Break(3) page, from the User Contributed Perl Documentation β¨ (yes the title is literally truncated like that, that's not me being lazy, that's just the vibe of the man page header π)
πΈ NAME πΈ
PPI::Statement::Break β the statements that straight up leave, no goodbye, just exit the normal statement flow π
β¨ SYNOPSIS β¨
last;
goto FOO;
next if condition();
return $foo;
redo;
like... iconic behaviour honestly π¦
π§ INHERITANCE π§
PPI::Statement::Break
isa PPI::Statement
isa PPI::Node
isa PPI::Element
it's giving royal lineage, the whole family tree is here π
π DESCRIPTION π
PPI::Statement::Break is here to represent statements that break out of the normal statement flow control. that's the whole job, that's the assignment, and it ate π₯
the basic types it covers are 'redo', 'goto', 'next', 'last' and 'return' β¨
π METHODS π
ngl, PPI::Statement::Break has no additional methods beyond the default ones provided by PPI::Statement, PPI::Node and PPI::Element. that's it, that's the tea π
but!! it is expected to gain methods for identifying the line to break to, or the structure to break out of π future plans bestie, watch this space.
π TO DO π
- Add the methods to identify the break target
- Add some proper unit testing
(the unit testing one is so real π)
π«Ά SUPPORT π«Ά
See the support section in the main module. yep, that's the whole support section, go check the main module, it's got the goods π
π AUTHOR π
Adam Kennedy <adamk@cpan.org> β absolute legend, we stan π
β COPYRIGHT β
Copyright 2001 - 2011 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
fr fr, that's the whole page β go forth and last responsibly π
and that's a wrap on perl v5.42.0, dated 2026-01-17, straight from the PPI::St...t::Break(3) man page itself πβ¨ bye bestie!! π¦
π¦ where this page comes from
- fedora 44: perl-PPI 1.284-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms