PPI::Token::End(3)
π PPI::Token::End π
okay bestie so welcome to PPI::Token::End, which is genuinely part of the Perl documentation, and which is also, per its own words, about completely useless content after the __END__ tag. the self-roast is real. i'm obsessed. β¨
π¦ NAME π¦
PPI::Token::End β Completely useless content after the __END__ tag π
like. that's the name. that's the whole thing. the module said "i'm useless" and we're all just supposed to keep reading. iconic honestly.
𧬠INHERITANCE π§¬
the family tree, and yes it ate:
PPI::Token::End
is a PPI::Token
is a PPI::Element
so it's a PPI::Token, which is a PPI::Element. generationally blessed. π
πΈ DESCRIPTION πΈ
so if you've already read PPI::Token::Whitespace, you already know the whole concept of documents "floating in a sea of PPI::Token::Whitespace". beautiful mental image. 10/10.
yeah well. after the __END__ tag, that sea does not exist. π
once you hit __END__, it's over bestie. everything after that tag isn't even good enough to be called whitespace. it just straight up does not exist as far as perl β the interpreter itself β is concerned. not me being ghosted by the runtime π
but hold on, that doesn't mean there's nothing useful living back there!! most of the time people use the __END__ tag to hide POD content so perl never has to look at it, presumably scoring some tiny lil speed up. slay.
and that's totally fine, because PPI loves POD. π«Ά any POD after the __END__ tag gets parsed into valid PPI::Token::Pod tags like normal, no notes. this class though? this class is for the other thing: "what's after __END__ when it isn't POD".
basically, the completely worthless bits of the file :) π
lowkey the most honest documentation in the whole ecosystem and i respect it so much.
π METHODS π
this class has no method beyond what is provided by its PPI::Token and PPI::Element parent classes.
that's it. that's the methods section. it inherits and vibes. main character energy with zero responsibilities. periodt. β¨
π§ SUPPORT π§
see the support section in the main module. (go look at the main module bestie, it's all there π)
β 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. π
okay that's the whole page, no cap. this was generated from the docs for perl v5.42.0, dated 2026-01-17, filed under PPI::Token::End(3) β mwah, bye bestie, go parse something π
β¨πΈ
π¦ 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