1PPIx::Regexp::Token::InUtseerrpoCloanttiroinb(u3t)ed PerPlPIDxo:c:uRmeegnetxapt:i:oTnoken::Interpolation(3)
2
3
4

NAME

6       PPIx::Regexp::Token::Interpolation - Represent an interpolation in the
7       PPIx::Regexp package.
8

SYNOPSIS

10        use PPIx::Regexp::Dumper;
11        PPIx::Regexp::Dumper->new('qr{$foo}smx')->print();
12

INHERITANCE

14       "PPIx::Regexp::Token::Interpolation" is a PPIx::Regexp::Token::Code.
15
16       "PPIx::Regexp::Token::Interpolation" has no descendants.
17

DESCRIPTION

19       This class represents a variable interpolation into a regular
20       expression. In the "SYNOPSIS" the $foo would be represented by an
21       object of this class.
22

METHODS

24       This class provides no public methods beyond those provided by its
25       superclass.
26
27   ppi
28       This convenience method returns the PPI::Document representing the
29       content. This document should be considered read only.
30
31       Note that the content of the returned PPI::Document may not be the same
32       as the content of the original "PPIx::Regexp::Token::Interpolation".
33       This can happen because interpolated variable names may be enclosed in
34       curly brackets, but this does not happen in normal code. For example,
35       in "/${foo}bar/", the content of the
36       "PPIx::Regexp::Token::Interpolation" object will be '${foo}', but the
37       content of the "PPI::Document" will be '$foo'.
38

SUPPORT

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

AUTHOR

44       Thomas R. Wyant, III wyant at cpan dot org
45
47       Copyright (C) 2009-2013 by Thomas R. Wyant, III
48
49       This program is free software; you can redistribute it and/or modify it
50       under the same terms as Perl 5.10.0. For more details, see the full
51       text of the licenses in the directory LICENSES.
52
53       This program is distributed in the hope that it will be useful, but
54       without any warranty; without even the implied warranty of
55       merchantability or fitness for a particular purpose.
56
57
58
59perl v5.16.3                      2014-06-P1P0Ix::Regexp::Token::Interpolation(3)
Impressum