1 package PPI::Token::Regexp::Substitute;
7 PPI::Token::Regexp::Substitute - A match and replace regular expression token
11 PPI::Token::Regexp::Substitute
12 isa PPI::Token::Regexp
18 $text =~ s/find/$replace/;
22 A C<PPI::Token::Regexp::Substitute> object represents a single substitution
27 There are no methods available for C<PPI::Token::Regexp::Substitute>
28 beyond those provided by the parent L<PPI::Token::Regexp>, L<PPI::Token>
29 and L<PPI::Element> classes.
31 Got any ideas for methods? Submit a report to rt.cpan.org!
36 use PPI::Token::Regexp ();
37 use PPI::Token::_QuoteEngine::Full ();
39 use vars qw{$VERSION @ISA};
43 PPI::Token::_QuoteEngine::Full
54 See the L<support section|PPI/SUPPORT> in the main module.
58 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
62 Copyright 2001 - 2009 Adam Kennedy.
64 This program is free software; you can redistribute
65 it and/or modify it under the same terms as Perl itself.
67 The full text of the license can be found in the
68 LICENSE file included with this module.