1PPI::Token::Quote::DoubUlsee(r3)Contributed Perl DocumenPtPaIt:i:oTnoken::Quote::Double(3)
2
3
4

NAME

6       PPI::Token::Quote::Double - A standard "double quote" token
7

INHERITANCE

9         PPI::Token::Quote::Double
10         isa PPI::Token::Quote
11             isa PPI::Token
12                 isa PPI::Element
13

DESCRIPTION

15       A "PPI::Token::Quote::Double" object represents a double-quoted
16       interpolating string.
17
18       The string is treated as a single entity, PPI will not try to
19       understand what is in the string during the parsing process.
20

METHODS

22       There are several methods available for "PPI::Token::Quote::Double",
23       beyond those provided by the parent PPI::Token::Quote, PPI::Token and
24       PPI::Element classes.
25
26   interpolations
27       The interpolations method checks to see if the double quote actually
28       contains any interpolated variables.
29
30       Returns true if the string contains interpolations, or false if not.
31
32   simplify
33       For various reasons, some people find themselves compelled to have
34       their code in the simplest form possible.
35
36       The "simplify" method will, if possible, modify a simple double-quoted
37       string token in place, turning it into the equivalent single-quoted
38       string. If the token is modified, it is reblessed into the
39       PPI::Token::Quote::Single package.
40
41       Because the length of the content is not changed, there is no need to
42       call the document's "flush_locations" method.
43
44       The object itself is returned as a convenience.
45

SUPPORT

47       See the support section in the main module.
48

AUTHOR

50       Adam Kennedy <adamk@cpan.org>
51
53       Copyright 2001 - 2011 Adam Kennedy.
54
55       This program is free software; you can redistribute it and/or modify it
56       under the same terms as Perl itself.
57
58       The full text of the license can be found in the LICENSE file included
59       with this module.
60
61
62
63perl v5.36.0                      2022-07-22      PPI::Token::Quote::Double(3)
Impressum