1PPI::Token::QuoteLike::URseegrexCpo(n3t)ributed Perl DocPuPmIe:n:tTaotkieonn::QuoteLike::Regexp(3)
2
3
4

NAME

6       PPI::Token::QuoteLike::Regexp - Regexp constructor quote-like operator
7

INHERITANCE

9         PPI::Token::QuoteLike::Regexp
10         isa PPI::Token::QuoteLike
11             isa PPI::Token
12                 isa PPI::Element
13

DESCRIPTION

15       A "PPI::Token::QuoteLike::Regexp" object represents the quote-like
16       operator used to construct anonymous Regexp objects, as follows.
17
18         # Create a Regexp object for a module filename
19         my $module = qr/\.pm$/;
20

METHODS

22       The following methods are provided by this class, beyond those provided
23       by the parent PPI::Token::QuoteLike, PPI::Token and PPI::Element
24       classes.
25
26   get_match_string
27       The "get_match_string" method returns the portion of the string that
28       will be compiled into the match portion of the regexp.
29
30   get_substitute_string
31       The "get_substitute_string" method always returns "undef", since the
32       "qr{}" construction provides no substitution string. This method is
33       provided for orthogonality with "PPI::Token::Regexp".
34
35   get_modifiers
36       The "get_modifiers" method returns the modifiers that will be compiled
37       into the regexp.
38
39   get_delimiters
40       The "get_delimiters" method returns the delimiters of the string as an
41       array. The first and only element is the delimiters of the string to be
42       compiled into a match string.
43

SUPPORT

45       See the support section in the main module.
46

AUTHOR

48       Adam Kennedy <adamk@cpan.org>
49
51       Copyright 2001 - 2011 Adam Kennedy.
52
53       This program is free software; you can redistribute it and/or modify it
54       under the same terms as Perl itself.
55
56       The full text of the license can be found in the LICENSE file included
57       with this module.
58
59
60
61perl v5.16.3                      2011-02-26  PPI::Token::QuoteLike::Regexp(3)
Impressum