1PPI::Token::Regexp::SubUssteirtuCtoen(t3r)ibuted Perl DoPcPuIm:e:nTtoakteino:n:Regexp::Substitute(3)
2
3
4
6 PPI::Token::Regexp::Substitute - A match and replace regular expression
7 token
8
10 PPI::Token::Regexp::Substitute
11 isa PPI::Token::Regexp
12 isa PPI::Token
13 isa PPI::Element
14
16 $text =~ s/find/$replace/;
17
19 A "PPI::Token::Regexp::Substitute" object represents a single
20 substitution regular expression.
21
23 There are no methods available for "PPI::Token::Regexp::Substitute"
24 beyond those provided by the parent PPI::Token::Regexp, PPI::Token and
25 PPI::Element classes.
26
28 See the support section in the main module.
29
31 Adam Kennedy <adamk@cpan.org>
32
34 Copyright 2001 - 2011 Adam Kennedy.
35
36 This program is free software; you can redistribute it and/or modify it
37 under the same terms as Perl itself.
38
39 The full text of the license can be found in the LICENSE file included
40 with this module.
41
42
43
44perl v5.28.0 2017-06-22 PPI::Token::Regexp::Substitute(3)