PPI::St...structor(3)
π PPI::Structure::Constructor π
okay bestie, welcome to the PPI::St...structor(3) page from the User Contributed Perl Documentation, no cap π this one's short and sweet, so let's gooo.
β¨ NAME β¨
PPI::Structure::Constructor β it's the anonymous hash or array constructor class. that's it, that's the vibe π
π¦ SYNOPSIS π¦
bestie look how cute these are:
my $array = [ 'foo', 'bar' ];
my $hash = { foo => 'bar' };
two little anon constructors living their best life, literally iconic π
πΈ INHERITANCE πΈ
the family tree, and yes we're respecting the lineage π
PPI::Structure::Constructor
isa PPI::Structure
isa PPI::Node
isa PPI::Element
so it inherits all the way down through PPI::Structure β PPI::Node β PPI::Element. main character with a whole ancestry fr fr β¨
π DESCRIPTION π
okay so PPI::Structure::Constructor is the class used for anonymous ARRAY reference or HASH reference constructors.
that's the whole personality. it's giving "I contain your [ ... ] and { ... } and I'm thriving" π«Ά
π§ METHODS π§
ngl this part is lowkey anticlimactic:
PPI::Structure::Constructor has no methods beyond those provided by the standard PPI::Structure, PPI::Node and PPI::Element methods.
so everything you get, you get from the parent classes. no extras, no surprises, just vibes ππ
π SUPPORT π
See the support section in the main module. (go check it out bestie, it's right there π )
π AUTHOR π
Adam Kennedy <adamk@cpan.org> β legend behaviour honestly, we stan π«Ά
β 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.
no stealing bestie, it's literally free software under the same terms as Perl itself, be normal about it π
and that's the whole page, you ate it up, periodt πβ¨
this was perl v5.42.0, dated 2026-01-17 β mwah, love u, bye bestie ππ¦πΈ
π¦ where this page comes from
- fedora 44: perl-PPI 1.284-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms