PPI::St...ubscript(3)
β¨ NAME β¨
okay so bestie, let me put you on: PPI::Structure::Subscript β it's the class for the braces that represent an array or hash subscript π
This is PPI::St...ubscript(3) from the User Contributed Perl Documentation, and yes the title got truncated in the header because Perl manpage naming is dramatic like that π«Ά
πΈ SYNOPSIS πΈ
# The end braces for all of the following are subscripts
$foo->[...]
$foo[...]
$foo{...}[...]
$foo->{...}
$foo{...}
$foo[]{...}
ngl, the thing to clock here is that comment: for every single one of those lines, the end braces are the subscripts. Not the first ones. The last ones. iykyk π₯
π¦ INHERITANCE π¦
the whole family tree, no cap:
PPI::Structure::Subscript
isa PPI::Structure
isa PPI::Node
isa PPI::Element
so it's giving PPI::Structure, which is giving PPI::Node, which is giving PPI::Element. generational excellence honestly π
π DESCRIPTION π
PPI::Structure::Subscript is literally the class used for square and curly braces that specify one element of an array or hash (or a slice/subset of an array or hash) β¨
that's it. that's the vibe. it's the subscript braces. iconic behavior.
π METHODS π
PPI::Structure::Subscript has no methods beyond those provided by the standard PPI::Structure, PPI::Node and PPI::Element methods.
not me having zero original methods and still being the moment π no but fr, it inherits everything it needs from its parents and that's valid.
π SUPPORT π
See the support section in the main module. π«Ά
π AUTHOR π
Adam Kennedy <adamk@cpan.org>
π 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.
and that's the whole page bestie, slay πβ¨ this was perl v5.42.0, dated 2026-01-17, living its best life in the User Contributed Perl Documentation. periodt. ππ¦
π¦ 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