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

NAME

6       PPI::Token::Magic - Tokens representing magic variables
7

INHERITANCE

9         PPI::Token::Magic
10         isa PPI::Token::Symbol
11             isa PPI::Token
12                 isa PPI::Element
13

SYNOPSIS

15         # When we say magic variables, we mean these...
16         $1   $2   $3   $4   $5   $6   $7   $8   $9
17         $_   $&   $`   $'   $+   @+   %+   $*   $.    $/    $|
18         $\   $"   $;   $%   $=   $-   @-   %-   $)    $#
19         $~   $^   $:   $?   $!   %!   $@   $$   $<    $>
20         $(   $0   $[   $]   @_   @*   $}   $,   $#+   $#-
21         $^L  $^A  $^E  $^C  $^D  $^F  $^H
22         $^I  $^M  $^N  $^O  $^P  $^R  $^S
23         $^T  $^V  $^W  $^X  %^H
24

DESCRIPTION

26       "PPI::Token::Magic" is a sub-class of PPI::Token::Symbol which
27       identifies the token as "magic variable", one of the strange and
28       unusual variables that are connected to "things" behind the scenes.
29
30       Some are extremely common, like $_, and others you will quite probably
31       never encounter in your Perl career.
32

METHODS

34       The class provides no additional methods, beyond those provided by
35       PPI::Token::Symbol, PPI::Token and PPI::Element.
36

SUPPORT

38       See the support section in the main module.
39

AUTHOR

41       Adam Kennedy <adamk@cpan.org>
42
44       Copyright 2001 - 2011 Adam Kennedy.
45
46       This program is free software; you can redistribute it and/or modify it
47       under the same terms as Perl itself.
48
49       The full text of the license can be found in the LICENSE file included
50       with this module.
51
52
53
54perl v5.36.0                      2023-01-20              PPI::Token::Magic(3)
Impressum