PPIx::R...e::Code(3)
β¨ NAME β¨
okay so bestie, meet PPIx::Regexp::Token::GroupType::Code (that's section 3 of the manual, π
) β it's the class that represents one of the embedded code indicators. that's the whole job. that's the vibe. π
π¦ SYNOPSIS π¦
like, here's how you'd actually use it:
use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{(?{print "hello world!\n")}smx' )
->print();
no cap, that's it. β¨
πΈ INHERITANCE πΈ
PPIx::Regexp::Token::GroupType::Codeis aPPIx::Regexp::Token::GroupType. it's giving "child of a legend". π- and
PPIx::Regexp::Token::GroupType::Codehas no descendants. it's the end of the line, the final girl, main character energy with nobody after her. π
π DESCRIPTION π
so this class represents one of the embedded code indicators β and those indicators are either '?' or '??' β living inside the zero-width assertion that looks like this:
(?{ print "Hello, world!\n" })
or, alternatively, inside the old-style deferred expression syntax, which is literally this:
my $foo;
$foo = qr{ foo (??{ $foo }) }smx;
so yeah. it's the little marker that says "code goes here". iconic behavior fr fr. π«Ά
π METHODS π
lowkey the shortest section ever: this class provides no public methods beyond those provided by its superclass. that's the whole tea. nothing extra. she's a minimalist. π
π SUPPORT π
support is by the author β so if something's broken, don't just suffer in silence, bestie. please file bug reports at:
https://github.com/trwyant/perl-PPIx-Regexp/issues
or, if you're feeling old-school, in electronic mail to the author. either way, they wanna hear from you. π
β 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.
ngl that last bit is the important one β no promises, no guarantees, she's doing her best. π
and that's the whole page, bestie! π¦β¨ this was perl v5.42.2, dated 2026-06-15, and you just read PPIx::Regexp::Token::GroupType::Code(3). ate and left no crumbs. periodt. πππ₯
π¦ 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