PPIx::Regexp::Structure::Replacement - Represent the replacement in s///


PPIx-Regexp documentation Contained in the PPIx-Regexp distribution.

Index


Code Index:

NAME

Top

PPIx::Regexp::Structure::Replacement - Represent the replacement in s///

SYNOPSIS

Top

 use PPIx::Regexp::Dumper;
 PPIx::Regexp::Dumper->new( 's{foo}{bar}smxg' )
     ->print();

INHERITANCE

Top

PPIx::Regexp::Structure::Replacement is a PPIx::Regexp::Structure::Main.

PPIx::Regexp::Structure::Replacement has no descendants.

DESCRIPTION

Top

This class represents the replacement in a substitution operation. In the example given in the SYNOPSIS, the {bar} will be represented by this class.

Note that if the substitution is not bracketed (e.g. s/foo/bar/g), this structure will contain no starting delimiter.

METHODS

Top

This class provides no public methods beyond those provided by its superclass.

SUPPORT

Top

Support is by the author. Please file bug reports at http://rt.cpan.org, or in electronic mail to the author.

AUTHOR

Top

Thomas R. Wyant, III wyant at cpan dot org

COPYRIGHT AND LICENSE

Top


PPIx-Regexp documentation Contained in the PPIx-Regexp distribution.
package PPIx::Regexp::Structure::Replacement;

use strict;
use warnings;

use base qw{ PPIx::Regexp::Structure::Main };

our $VERSION = '0.020';

sub can_be_quantified { return; }

1;

__END__

# ex: set textwidth=72 :