Commit | Line | Data |
3fea05b9 |
1 | package PPI::Structure::Constructor; |
2 | |
3 | =pod |
4 | |
5 | =head1 NAME |
6 | |
7 | PPI::Structure::Constructor - Anonymous hash or array constructor |
8 | |
9 | =head1 SYNOPSIS |
10 | |
11 | my $array = [ 'foo', 'bar' ]; |
12 | my $hash = { foo => 'bar' }; |
13 | |
14 | =head1 INHERITANCE |
15 | |
16 | PPI::Structure::Constructor |
17 | isa PPI::Structure |
18 | isa PPI::Node |
19 | isa PPI::Element |
20 | |
21 | =head1 DESCRIPTION |
22 | |
23 | C<PPI::Structure::Constructor> is the class used for anonymous C<ARRAY> |
24 | reference of C<HASH> reference constructors. |
25 | |
26 | =head1 METHODS |
27 | |
28 | C<PPI::Structure::Constructor> has no methods beyond those provided by |
29 | the standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods. |
30 | |
31 | Got any ideas for methods? Submit a report to rt.cpan.org! |
32 | |
33 | =cut |
34 | |
35 | use strict; |
36 | use PPI::Structure (); |
37 | |
38 | use vars qw{$VERSION @ISA}; |
39 | BEGIN { |
40 | $VERSION = '1.206'; |
41 | @ISA = 'PPI::Structure'; |
42 | } |
43 | |
44 | 1; |
45 | |
46 | =pod |
47 | |
48 | =head1 SUPPORT |
49 | |
50 | See the L<support section|PPI/SUPPORT> in the main module. |
51 | |
52 | =head1 AUTHOR |
53 | |
54 | Adam Kennedy E<lt>adamk@cpan.orgE<gt> |
55 | |
56 | =head1 COPYRIGHT |
57 | |
58 | Copyright 2001 - 2009 Adam Kennedy. |
59 | |
60 | This program is free software; you can redistribute |
61 | it and/or modify it under the same terms as Perl itself. |
62 | |
63 | The full text of the license can be found in the |
64 | LICENSE file included with this module. |
65 | |
66 | =cut |