PPIx::R...ndition(3)
π PPIx::Regexp::Token::Condition π
okay bestie, welcome to the manual page for PPIx::Regexp::Token::Condition β it's part of the User Contributed Perl Documentation situation, and it's literally the whole vibe of representing the condition of a switch. let's get into it π¦
β¨ NAME β¨
PPIx::Regexp::Token::Condition β represent the condition of a switch. that's it, that's the whole job description, and it slays at it π
πΈ SYNOPSIS πΈ
okay so here's the whole flex in code form:
use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{(?(1)foo|bar)}smx' )
->print();
look at that. iconic. no notes. π
π§ INHERITANCE π§
PPIx::Regexp::Token::Condition is a PPIx::Regexp::Token::Reference. so it's giving... nepo baby, but in a cute way, because it inherits all the good stuff. π
and PPIx::Regexp::Token::Condition has no descendants. it's the end of the line, the final girl, nobody comes after it. periodt. π
π DESCRIPTION π
so here's the tea π: this class represents the condition portion of a switch or conditional expression β but only provided that condition is reasonably represented as a token.
that "provided that" is doing a lot of heavy lifting, so don't come for me. if it's reasonably token-able, it's this class's moment. if not... well, not this class's problem. π
β¨ METHODS β¨
This class provides no public methods beyond those provided by its superclass.
yeah, that's right β zero extra methods, no notes, no crumbs, no drama. it's a minimalist queen. everything you get, you get from PPIx::Regexp::Token::Reference. π
π«Ά SUPPORT π«Ά
support is by the author, bestie. so if something's broken, don't just vibe in silence β please file bug reports at:
or send electronic mail to the author. that's the whole support situation. thank you for coming to my TED talk πΈ
π AUTHOR π
Thomas R. Wyant, III β harryfmudd at comcast dot net
the main character who wrote all of this. show some respect. π
π 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.
fr fr, that warranty disclaimer is not a vibe killer, it's just the law. no warranty, no promises, no cap. π
and that's the whole page, bestie π β¨
this was PPIx::Regexp::Token::Condition from the perl v5.42.2 manual, dated 2026-06-15. thanks for reading, ily, go parse some regexes π¦ππ
π¦ 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