1PPI::Structure::SubscriUpste(r3)Contributed Perl DocumenPtPaIt:i:oSntructure::Subscript(3)
2
3
4
6 PPI::Structure::Subscript - Braces that represent an array or hash
7 subscript
8
10 # The end braces for all of the following are subscripts
11 $foo->[...]
12 $foo[...]
13 $foo{...}[...]
14 $foo->{...}
15 $foo{...}
16 $foo[]{...}
17
19 PPI::Structure::Subscript
20 isa PPI::Structure
21 isa PPI::Node
22 isa PPI::Element
23
25 "PPI::Structure::Subscript" is the class used for square and curly
26 braces that specify one element of an array or hash (or a slice/subset
27 of an array or hash)
28
30 "PPI::Structure::Subscript" has no methods beyond those provided by the
31 standard PPI::Structure, PPI::Node and PPI::Element methods.
32
34 See the support section in the main module.
35
37 Adam Kennedy <adamk@cpan.org>
38
40 Copyright 2001 - 2011 Adam Kennedy.
41
42 This program is free software; you can redistribute it and/or modify it
43 under the same terms as Perl itself.
44
45 The full text of the license can be found in the LICENSE file included
46 with this module.
47
48
49
50perl v5.36.0 2023-01-20 PPI::Structure::Subscript(3)