1PPI::Token::Cast(3)   User Contributed Perl Documentation  PPI::Token::Cast(3)
2
3
4

NAME

6       PPI::Token::Cast - A prefix which forces a value into a different
7       context
8

INHERITANCE

10         PPI::Token::Cast
11         isa PPI::Token
12             isa PPI::Element
13

DESCRIPTION

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

METHODS

24       There are no additional methods beyond those provided by the parent
25       PPI::Token and PPI::Element classes.
26

SUPPORT

28       See the support section in the main module.
29

AUTHOR

31       Adam Kennedy <adamk@cpan.org>
32
34       Copyright 2001 - 2011 Adam Kennedy.
35
36       This program is free software; you can redistribute it and/or modify it
37       under the same terms as Perl itself.
38
39       The full text of the license can be found in the LICENSE file included
40       with this module.
41
42
43
44perl v5.36.0                      2022-07-22               PPI::Token::Cast(3)
Impressum