1Pod::Simple::PullParserUEsnedrToCkoennt(r3i)buted Perl DPoocdu:m:eSnitmaptlieo:n:PullParserEndToken(3)
2
3
4
6 Pod::Simple::PullParserEndToken -- end-tokens from Pod::Simple::Pull‐
7 Parser
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 "Pod::Simple::PullParserEndTo‐
37 ken->new( tagname )"
38
40 Pod::Simple::PullParserToken, Pod::Simple, Pod::Simple::Subclassing
41
43 Copyright (c) 2002 Sean M. Burke. All rights reserved.
44
45 This library is free software; you can redistribute it and/or modify it
46 under the same terms as Perl itself.
47
48 This program is distributed in the hope that it will be useful, but
49 without any warranty; without even the implied warranty of mer‐
50 chantability or fitness for a particular purpose.
51
53 Sean M. Burke "sburke@cpan.org"
54
55
56
57perl v5.8.8 2003-11-02Pod::Simple::PullParserEndToken(3)