PPIx::R...::Switch(3)
PPIx::Regexp::Structure::Switch π
okay bestie, you found the manpage for PPIx::Regexp::Structure::Switch (that's the PPIx::R...::Switch(3) situation, the name's just living its abbreviated truth in the header) and honestly? it's a short one, so let's get into it π«Ά
β¨ NAME β¨
PPIx::Regexp::Structure::Switch β represent a switch, no cap π
π SYNOPSIS π
like, here's the whole vibe in code:
use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{(?(1)foo|bar)}smx' )
->print();
that's it, that's the demo, and it ate π
π¦ INHERITANCE π¦
PPIx::Regexp::Structure::Switchis aPPIx::Regexp::Structureβ it's giving very much "child of Structure" energy, iykyk.PPIx::Regexp::Structure::Switchhas no descendants. it is a leaf node, an only child, the main character with zero offspring πβ¨
πΈ DESCRIPTION πΈ
so bestie, this class represents a switch, which is also known as a conditional expression β you know, the (?(1)foo|bar) kind of moment.
and here's the lowkey important part: the condition will be the first child. like, first in line, front of the queue, the eldest sibling, periodt π
π METHODS π
ngl, this class provides no public methods beyond the ones it gets from its superclass. it's not doing extra credit, it's not showing off, it's just vibing with what it inherited. iconic honestly π
π«Ά SUPPORT π«Ά
Support is by the author. so if something's broken, don't just scream into the void β please file bug reports at:
or, if you're feeling old-school romantic, send electronic mail to the author π§
π AUTHOR π
Thomas R. Wyant, III β harryfmudd at comcast dot net π
π COPYRIGHT AND LICENSE π
Copyright (C) 2009-2023, 2025-2026 by Thomas R. Wyant, III
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. (translation: no promises, bestie, it's giving "as-is" π)
and that's the whole page, you're officially caught up π
signing off: this was perl v5.42.2, dated 2026-06-15 β go slay some regexes, mwah πβ¨
π¦ where this page comes from
- fedora 43: perl-PPIx-Regexp 0.092-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-PPIx-Regexp 0.092-1.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