1Pod::Simple::PullParserUEsnedrToCkoennt(r3i)buted Perl DPoocdu:m:eSnitmaptlieo:n:PullParserEndToken(3)
2
3
4
6 Pod::Simple::PullParserEndToken -- end-tokens from
7 Pod::Simple::PullParser
8
10 (See Pod::Simple::PullParser)
11
13 When you do $parser->get_token on a Pod::Simple::PullParser, you might
14 get an object of this class.
15
16 This is a subclass of Pod::Simple::PullParserToken and inherits all its
17 methods, and adds these methods:
18
19 $token->tagname
20 This returns the tagname for this end-token object. For example,
21 parsing a "=head1 ..." line will give you a start-token with the
22 tagname of "head1", token(s) for its content, and then an end-token
23 with the tagname of "head1".
24
25 $token->tagname(somestring)
26 This changes the tagname for this end-token object. You probably
27 won't need to do this.
28
29 $token->tag(...)
30 A shortcut for $token->tagname(...)
31
32 $token->is_tag(somestring) or $token->is_tagname(somestring)
33 These are shortcuts for "$token->tag() eq somestring"
34
35 You're unlikely to ever need to construct an object of this class for
36 yourself, but if you want to, call
37 "Pod::Simple::PullParserEndToken->new( tagname )"
38
40 Pod::Simple::PullParserToken, Pod::Simple, Pod::Simple::Subclassing
41
43 Questions or discussion about POD and Pod::Simple should be sent to the
44 pod-people@perl.org mail list. Send an empty email to
45 pod-people-subscribe@perl.org to subscribe.
46
47 This module is managed in an open GitHub repository,
48 <https://github.com/perl-pod/pod-simple/>. Feel free to fork and
49 contribute, or to clone <https://github.com/perl-pod/pod-simple.git>
50 and send patches!
51
52 Patches against Pod::Simple are welcome. Please send bug reports to
53 <bug-pod-simple@rt.cpan.org>.
54
56 Copyright (c) 2002 Sean M. Burke.
57
58 This library is free software; you can redistribute it and/or modify it
59 under the same terms as Perl itself.
60
61 This program is distributed in the hope that it will be useful, but
62 without any warranty; without even the implied warranty of
63 merchantability or fitness for a particular purpose.
64
66 Pod::Simple was created by Sean M. Burke <sburke@cpan.org>. But don't
67 bother him, he's retired.
68
69 Pod::Simple is maintained by:
70
71 • Allison Randal "allison@perl.org"
72
73 • Hans Dieter Pearcey "hdp@cpan.org"
74
75 • David E. Wheeler "dwheeler@cpan.org"
76
77
78
79perl v5.38.0 2023-07-21Pod::Simple::PullParserEndToken(3)