PPIx::R...acement(3)
β¨ NAME β¨
so this is PPIx::Regexp::Structure::Replacement π and it's literally the class that represents the replacement in s/// β like, the part where the new text goes, bestie π«Ά
(also, the page header says it lives in the User Contributed Perl Documentation, and the manual name is PPIx::R...acement(3) because terminals are dramatic and love to truncate π
)
πΈ SYNOPSIS πΈ
use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 's{foo}{bar}smxg' )
->print();
π¦ INHERITANCE π¦
PPIx::Regexp::Structure::Replacement is a PPIx::Regexp::Structure::Main.
PPIx::Regexp::Structure::Replacement has no descendants. it's the end of the line, the final girl, no children, no cap π
π DESCRIPTION π
okay so listen π this class represents the replacement in a substitution operation. in the example up in the SYNOPSIS, that {bar} right there? yeah, that's what this class is holding. it's giving main character energy for the second half of your s/// β¨
lowkey important: if the substitution is not bracketed (think s/foo/bar/g), this structure will contain no starting delimiter. not a bug, just how it is π
π METHODS π
this class provides no public methods beyond those provided by its superclass. she inherits everything, adds nothing, and honestly? iconic behaviour. periodt π
π«Ά 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. like genuinely, just tell them, they want to know π
π 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.
and that's the whole thing bestie, no notes π fr fr. this was perl v5.42.2, dated 2026-06-15, page PPIx::R...acement(3) β tysm for reading, 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