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 substituā
20 tion 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
27 Got any ideas for methods? Submit a report to rt.cpan.org!
28
30 See the support section in the main module.
31
33 Adam Kennedy <adamk@cpan.org>
34
36 Copyright 2001 - 2006 Adam Kennedy.
37
38 This program is free software; you can redistribute it and/or modify it
39 under the same terms as Perl itself.
40
41 The full text of the license can be found in the LICENSE file included
42 with this module.
43
44
45
46perl v5.8.8 2006-09-23 PPI::Token::Regexp::Substitute(3)