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::Code is a PPIx::Regexp::Token::GroupType. it's giving "child of a legend". πŸ‘‘
  • and PPIx::Regexp::Token::GroupType::Code has 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 (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