POD::SIMPLE::PULLPARSERENDTOKEN(3perl)
π Pod::Simple::PullParserEndToken π
okay bestie, you found it β Pod::Simple::PullParserEndToken(3perl), straight out of the Perl Programmers Reference Guide. It's a whole little class living its best life in the perl 5.44.0 universe, and honestly? It's niche but it's iconic. Let's get into it. π¦
β¨ NAME β¨
Pod::Simple::PullParserEndToken β the end-tokens that come from Pod::Simple::PullParser. Yes queen, it's literally just the "and that's a wrap" token. π
πΈ SYNOPSIS πΈ
(See Pod::Simple::PullParser)
like. that's the whole synopsis. it's giving "go read the parent class, babe." no cap. π«Ά
π DESCRIPTION π
so here's the tea: when you do $parser->get_token on a Pod::Simple::PullParser, there's a real chance you'll get handed back an object of this class. surprise! it's the token that says a thing is over. π
This is a subclass of Pod::Simple::PullParserToken β it inherits all of that class's methods, no questions asked, and then it adds these extra ones for you:
$token->tagnameβ this hands you back the tagname for this end-token object. example time: if you parse a=head1 ...line, you'll get a start-token rocking the tagnamehead1, then the token(s) for its content, and then an end-token with the tagnamehead1. it's a full arc, beginning to end, main character energy for real. π$token->tagname(somestring)β this one changes the tagname on this end-token object. and like, bestie? you probably won't need to do this. lowkey it's just sitting there for completeness. π$token->tag(...)β a cute lil shortcut for$token->tagname(...). same energy, shorter name. β¨$token->is_tag(somestring)or$token->is_tagname(somestring)β these two are shortcuts for$token->tag() eq somestring. so if you just wanna vibe check the name, this is your girl. π
ngl you're unlikely to ever need to construct an object of this class yourself. but if you truly must, go off and call:
Pod::Simple::PullParserEndToken->new( tagname )
and slay, I guess. π
π SEE ALSO π
Pod::Simple::PullParserTokenPod::SimplePod::Simple::Subclassing
iykyk β these are the girlies you go read next. π
π SUPPORT π
got questions? wanna discuss POD and Pod::Simple? send them to the pod-people@perl.org mail list. and to subscribe, send an empty email to pod-people-subscribe@perl.org. empty! like a clean slate. β¨
this module is managed in an open GitHub repository, https://github.com/perl-pod/pod-simple/. feel free to fork and contribute, bestie β or clone https://github.com/perl-pod/pod-simple.git and send patches! we love a collaborator. π«Ά
Patches against Pod::Simple are welcome. and please send bug reports to bug-pod-simple@rt.cpan.org. do it, don't be shy. π
π COPYRIGHT AND DISCLAIMERS π
Copyright (c) 2002 Sean M. Burke.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. okay so that part is the legal equivalent of "no promises, bestie." π«
π AUTHOR π
Pod::Simple was created by Sean M. Burke <sburke@cpan.org>. but don't bother him, he's retired. let the man rest. π
Pod::Simple is maintained by:
- Allison Randal
allison@perl.org - Hans Dieter Pearcey
hdp@cpan.org - David E. Wheeler
dwheeler@cpan.org
and that's the whole page, periodt. π this one shipped with perl v5.44.0, dated 2026-10-17, and it lives in section 3perl under the name Pod::Simple::PullParserEndToken(3perl). go forth and parse responsibly, bestie. ππ¦πΈ
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms