PPI::St...e::When(3)
π PPI::St...e::When(3) π
okay bestie, welcome to the PPI::St...e::When page from the User Contributed Perl Documentation β yes that's the manual name, and yes it's literally the whole vibe. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
PPI::Structure::When β circular braces for a when statement
like, the curvy lil parenthesis energy but for when. iconic behavior honestly π
β¨ SYNOPSIS β¨
when ( something ) {
...
}
that's it. that's the whole thing. no cap π
πΈ INHERITANCE πΈ
PPI::Structure::When
isa PPI::Structure
isa PPI::Node
isa PPI::Element
it's giving family tree, it's giving legacy, it's giving main character descended from main characters π
π DESCRIPTION π
PPI::Structure::When is the class used for the circular braces that contain the thing to be matched in a when statement.
fr fr. those round brackets around the thing you're matching? yeah. that's this class. she's the container, she's the moment, she holds the matchable thing and she does it with grace πΈ
π¦ METHODS π¦
PPI::Structure::When has no methods beyond those provided by the standard PPI::Structure, PPI::Node and PPI::Element methods.
ngl she's a low-maintenance queen β everything she can do, she inherited. no extra methods, no extra drama, just the family traits β¨
π SUPPORT π
See the support section in the main module.
(go check the parent module bestie, that's where the support deets live π«Ά)
π AUTHOR π
Adam Kennedy <adamk@cpan.org>
ty for your service king π
β 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.
okay so like, the license is serious business β same terms as Perl itself, and the full text lives in the LICENSE file that ships with this module. read it, bestie. it's the law π
perl v5.42.0 Β· 2026-01-17 β mwah, that's a wrap, thanks for coming to my ted talk, go write some when statements π
β¨π¦
π¦ 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