PPIx::R...:Support(3)

πŸ’– PPIx::Regexp::Support β€” the glow-up parent class πŸ’–

okay bestie, welcome to the manual page for PPIx::Regexp::Support(3) β€” yes, that's the whole name, it just gets chopped off in the header because terminals are dramatic like that πŸ™ˆ This is from the User Contributed Perl Documentation collection, and it's the ~vibes~ page for the support-class crew. Let's get into it 🫢


✨ NAME ✨

PPIx::Regexp::Support β€” the basis for the PPIx::Regexp support classes. it's giving "mom friend of the module family" πŸ‘‘


🌸 SYNOPSIS 🌸

use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{foo}smx' )
    ->print();

literally that's the whole flex. instantiate, call print, done πŸ’…


πŸ¦‹ INHERITANCE πŸ¦‹

PPIx::Regexp::Support is not descended from any other class. no ancestors, no lineage, it simply is. main character energy fr fr ✨

But bestie, it IS a parent! PPIx::Regexp::Support is the parent of:

  • PPIx::Regexp::Dumper
  • PPIx::Regexp::Lexer
  • PPIx::Regexp::Tokenizer

so yeah, three whole children looking up to it 😭🫢


πŸ’œ DESCRIPTION πŸ’œ

This abstract class provides methods for the PPIx::Regexp support classes. abstract = you don't instantiate it directly, you let the kids inherit the drip. no cap πŸŽ€


🌈 METHODS 🌈

This class provides the following public methods. Methods not documented here are private, and unsupported in the sense that the author reserves the right to change or remove them without notice. so like… don't build your whole app on the undocumented ones, bestie, that's a situationship you'll regret πŸ’€

πŸŽ€ close_bracket

This method takes as its argument a character. If this character is an open bracket, the corresponding close bracket is returned. Otherwise undef is returned. Only the ASCII bracket characters are considered brackets: (), {}, [], and <>. that's the whole bracket roster, no sneaky Unicode impostors allowed 🚫

πŸŽ€ decode

This method wraps the Encode::decode subroutine. If the object specifies no encoding, or encode_available() returns false, this method simply returns its input string. so it's decode-but-chill β€” no encoding config, no transformation, just vibes in, same vibes out πŸ’«

πŸŽ€ encode

This method wraps the Encode::encode subroutine. If the object specifies no encoding, or encode_available() returns false, this method simply returns its input string. same deal as its sibling, mirrored, iconic behavior honestly πŸ‘―

πŸŽ€ encode_available

This method returns true if the Encode module is available, and false otherwise. If it returns true, the Encode module has actually been loaded. like, for real loaded, not just "available in theory" β€” it did the thing πŸ”₯


🫢 SUPPORT 🫢

Support is by the author. Please file bug reports at <https://github.com/trwyant/perl-PPIx-Regexp/issues> or in electronic mail to the author.

found a bug? don't suffer in silence, bestie, drop it in the issue tracker or send an email. the author wants to 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.

⚠️ yes bestie, that "no warranty" bit is real and it means what it says β€” it's distributed in hope of being useful, not with any promises. dramatic but accurate 🎭

and that's the page!! this version ships with perl v5.42.2 and is dated 2026-06-15 β€” so if you're reading this, hi from the future, hope your regexes are slaying πŸŒŸπŸ’…βœ¨

πŸ“¦ where this page comes from