1PPI::Token::Quote::DoubUlsee(r3)Contributed Perl DocumenPtPaIt:i:oTnoken::Quote::Double(3)
2
3
4
6 PPI::Token::Quote::Double - A standard "double quote" token
7
9 PPI::Token::Quote::Double
10 isa PPI::Token::Quote
11 isa PPI::Token
12 isa PPI::Element
13
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
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 Got any ideas for methods? Submit a report to rt.cpan.org!
27
28 interpolations
29 The interpolations method checks to see if the double quote actually
30 contains any interpolated variables.
31
32 Returns true if the string contains interpolations, or false if not.
33
34 simplify
35 For various reasons, some people find themselves compelled to have
36 their code in the simplest form possible.
37
38 The "simply" method will turn a simple double-quoted string into the
39 equivalent single-quoted string.
40
41 If the double can be simplified, it will be modified in place and
42 returned as a convenience, or returns false if the string cannot be
43 simplified.
44
46 See the support section in the main module.
47
49 Adam Kennedy <adamk@cpan.org>
50
52 Copyright 2001 - 2011 Adam Kennedy.
53
54 This program is free software; you can redistribute it and/or modify it
55 under the same terms as Perl itself.
56
57 The full text of the license can be found in the LICENSE file included
58 with this module.
59
60
61
62perl v5.12.3 2011-02-26 PPI::Token::Quote::Double(3)