Add built local::lib
[catagits/Gitalist.git] / local-lib5 / lib / perl5 / PPI / Structure / Subscript.pm
CommitLineData
3fea05b9 1package PPI::Structure::Subscript;
2
3=pod
4
5=head1 NAME
6
7PPI::Structure::Subscript - Braces that represent an array or hash subscript
8
9=head1 SYNOPSIS
10
11 # The end braces for all of the following are subscripts
12 $foo->[...]
13 $foo[...]
14 $foo{...}[...]
15 $foo->{...}
16 $foo{...}
17 $foo[]{...}
18
19=head1 INHERITANCE
20
21 PPI::Structure::Subscript
22 isa PPI::Structure
23 isa PPI::Node
24 isa PPI::Element
25
26=head1 DESCRIPTION
27
28C<PPI::Structure::Subscript> is the class used for square and curly
29braces that specify one element of an array or hash (or a slice/subset
30of an array or hash)
31
32=head1 METHODS
33
34C<PPI::Structure::Subscript> has no methods beyond those provided by the
35standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
36
37Got any ideas for methods? Submit a report to rt.cpan.org!
38
39=cut
40
41use strict;
42use PPI::Structure ();
43
44use vars qw{$VERSION @ISA};
45BEGIN {
46 $VERSION = '1.206';
47 @ISA = 'PPI::Structure';
48}
49
501;
51
52=pod
53
54=head1 SUPPORT
55
56See the L<support section|PPI/SUPPORT> in the main module.
57
58=head1 AUTHOR
59
60Adam Kennedy E<lt>adamk@cpan.orgE<gt>
61
62=head1 COPYRIGHT
63
64Copyright 2001 - 2009 Adam Kennedy.
65
66This program is free software; you can redistribute
67it and/or modify it under the same terms as Perl itself.
68
69The full text of the license can be found in the
70LICENSE file included with this module.
71
72=cut