1PPI::Structure::ConstruUcsteorr(C3o)ntributed Perl DocumPePnIt:a:tSitornucture::Constructor(3)
2
3
4
6 PPI::Structure::Constructor - Anonymous hash or array constructor
7
9 my $array = [ 'foo', 'bar' ];
10 my $hash = { foo => 'bar' };
11
13 PPI::Structure::Constructor
14 isa PPI::Structure
15 isa PPI::Node
16 isa PPI::Element
17
19 "PPI::Structure::Constructor" is the class used for anonymous "ARRAY"
20 reference of "HASH" reference constructors.
21
23 "PPI::Structure::Constructor" has no methods beyond those provided by
24 the standard PPI::Structure, PPI::Node and PPI::Element methods.
25
27 See the support section in the main module.
28
30 Adam Kennedy <adamk@cpan.org>
31
33 Copyright 2001 - 2011 Adam Kennedy.
34
35 This program is free software; you can redistribute it and/or modify it
36 under the same terms as Perl itself.
37
38 The full text of the license can be found in the LICENSE file included
39 with this module.
40
41
42
43perl v5.34.0 2022-02-02 PPI::Structure::Constructor(3)