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 (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