1PPI::Token::Cast(3) User Contributed Perl Documentation PPI::Token::Cast(3)
2
3
4
6 PPI::Token::Cast - A prefix which forces a value into a different
7 context
8
10 PPI::Token::Cast
11 isa PPI::Token
12 isa PPI::Element
13
15 A "cast" in PPI terms is one of more characters used as a prefix which
16 force a value into a different class or context.
17
18 This includes referencing, dereferencing, and a few other minor cases.
19
20 For expressions such as @$foo or "@{ $foo{bar} }" the "@" in both cases
21 represents a cast. In this case, an array dereference.
22
24 There are no additional methods beyond those provided by the parent
25 PPI::Token and PPI::Element classes.
26
27 Got any ideas for methods? Submit a report to rt.cpan.org!
28
30 See the support section in the main module.
31
33 Adam Kennedy <adamk@cpan.org>
34
36 Copyright 2001 - 2009 Adam Kennedy.
37
38 This program is free software; you can redistribute it and/or modify it
39 under the same terms as Perl itself.
40
41 The full text of the license can be found in the LICENSE file included
42 with this module.
43
44
45
46perl v5.10.1 2009-08-08 PPI::Token::Cast(3)