Pod::Simple::PullParserToken
Pod::Simple::PullParserToken
NAME
Pod::Simple::PullParserToken -- tokens from Pod::Simple::PullParser
SYNOPSIS
Given a $parser that's an object of class Pod::Simple::PullParser (or a subclass)...
while(my $token = $parser->get_token) { $DEBUG and print "Token: ", $token->dump, "\n"; if($token->is_start) { ...access $token->tagname, $token->attr, etc... } elsif($token->is_text) { ...access $token->text, $token->text_r, etc... } elsif($token->is_end) { ...access $token->tagname... } }