Initial Commit
This commit is contained in:
62
database/perl/vendor/lib/PPI/Structure/Constructor.pm
vendored
Normal file
62
database/perl/vendor/lib/PPI/Structure/Constructor.pm
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
package PPI::Structure::Constructor;
|
||||
|
||||
=pod
|
||||
|
||||
=head1 NAME
|
||||
|
||||
PPI::Structure::Constructor - Anonymous hash or array constructor
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
my $array = [ 'foo', 'bar' ];
|
||||
my $hash = { foo => 'bar' };
|
||||
|
||||
=head1 INHERITANCE
|
||||
|
||||
PPI::Structure::Constructor
|
||||
isa PPI::Structure
|
||||
isa PPI::Node
|
||||
isa PPI::Element
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
C<PPI::Structure::Constructor> is the class used for anonymous C<ARRAY>
|
||||
reference of C<HASH> reference constructors.
|
||||
|
||||
=head1 METHODS
|
||||
|
||||
C<PPI::Structure::Constructor> has no methods beyond those provided by
|
||||
the standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
|
||||
|
||||
=cut
|
||||
|
||||
use strict;
|
||||
use PPI::Structure ();
|
||||
|
||||
our $VERSION = '1.270'; # VERSION
|
||||
|
||||
our @ISA = "PPI::Structure";
|
||||
|
||||
1;
|
||||
|
||||
=pod
|
||||
|
||||
=head1 SUPPORT
|
||||
|
||||
See the L<support section|PPI/SUPPORT> in the main module.
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Adam Kennedy E<lt>adamk@cpan.orgE<gt>
|
||||
|
||||
=head1 COPYRIGHT
|
||||
|
||||
Copyright 2001 - 2011 Adam Kennedy.
|
||||
|
||||
This program is free software; you can redistribute
|
||||
it and/or modify it under the same terms as Perl itself.
|
||||
|
||||
The full text of the license can be found in the
|
||||
LICENSE file included with this module.
|
||||
|
||||
=cut
|
||||
Reference in New Issue
Block a user