Pod::Simple::PullParserTextToken - Online Linux Manual PageSection : 3
Updated : 2023-01-20
Source : perl v5.36.0
Note : User Contributed Perl Documentation
NAMEPod::Simple::PullParserTextToken −− text−tokens from Pod::Simple::PullParser
SYNOPSIS(See Pod::Simple::PullParser)
DESCRIPTIONWhen you do $parser−>get_token on a Pod::Simple::PullParser, you might get an object of this class. This is a subclass of Pod::Simple::PullParserToken and inherits all its methods, and adds these methods: $token−>text This returns the text that this token holds. For example, parsing C<foo> will return a C start-token, a text-token, and a C end-token. And if you want to get the "foo" out of the text-token, call \*(C`$token\->text\*(C'\fR $token−>text(somestring) This changes the string that this token holds. You probably won't need to do this. $token−>text_r() This returns a scalar reference to the string that this token holds. This can be useful if you don't want to memory-copy the potentially large text value (well, as large as a paragraph or a verbatim block) as calling $token−>text would do. Or, if you want to alter the value, you can even do things like this: for ( ${ $token−>text_r } ) { # Aliases it with $_ !!
s/ The / the /g; # just for example
if( 'A' eq chr(65) ) { # (if in an ASCII world)
tr/\xA0/ /;
tr/\xAD//d;
}
...or however you want to alter the value...
(Note that starting with Perl v5.8, you can use, e.g.,
my $nbsp = chr utf8::unicode_to_native(0xA0);
s/$nbsp/ /g;
to handle the above regardless if it's an ASCII world or not)
}
You're unlikely to ever need to construct an object of this class for yourself, but if you want to, call \*(C`Pod::Simple::PullParserTextToken\->new( \fR\f(CItext\fR\f(CW )\*(C'\fR
SEE ALSOPod::Simple::PullParserToken, Pod::Simple, Pod::Simple::Subclassing
SUPPORTQuestions or discussion about POD and Pod::Simple should be sent to the pod−people@perl.org mail list. Send an empty email to pod−people−subscribe@perl.org to subscribe. This module is managed in an open GitHub repository, <https://github.com/perl−pod/pod−simple/>. Feel free to fork and contribute, or to clone <git://github.com/perl−pod/pod−simple.git> and send patches! Patches against Pod::Simple are welcome. Please send bug reports to <bug−pod−simple@rt.cpan.org>.
COPYRIGHT AND DISCLAIMERSCopyright (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.
AUTHORPod::Simple was created by Sean M. Burke <sburke@cpan.org>. But don't bother him, he's retired. Pod::Simple is maintained by: • Allison Randal \*(C`allison@perl.org\*(C'\fR • Hans Dieter Pearcey \*(C`hdp@cpan.org\*(C'\fR • David E. Wheeler \*(C`dwheeler@cpan.org\*(C'\fR 0
Johanes Gumabo
Data Size : 10,120 byte
man-Pod::Simple::PullParserTextToken.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 5 / 174,450
Visitor ID : :
Visitor IP : 18.219.247.59 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|Pod::Simple::PullParserTextToken.3pm|24/25|el══─{─══.|.el══─{─══. ds C`
) (htmlprn|149|Pod::Simple::PullParserTextToken.3pm|24/25|.el══─{─══. ds C` |.el══─{─══. ds C`
) (parse_manual_page_|249|Pod::Simple::PullParserTextToken.3pm|27|br══─}─══|'br══─}─══
) (htmlprn|149|Pod::Simple::PullParserTextToken.3pm|27|'br══─}─══ |'br══─}─══
) (rof_escape_sequence|91|Pod::Simple::PullParserTextToken.3pm|80|\*(C`$token\->text\*(C'\fR |if you want to get the "foo" out of the text-token, call \f(CW\*(C`$token\->text\*(C'\fR
) (rof_escape_sequence|91|Pod::Simple::PullParserTextToken.3pm|118|\*(C`Pod::Simple::PullParserTextToken\->new( \fR\f(CItext\fR\f(CW )\*(C'\fR |\&\f(CW\*(C`Pod::Simple::PullParserTextToken\->new( \fR\f(CItext\fR\f(CW )\*(C'\fR
) (rof_escape_sequence|91|Pod::Simple::PullParserTextToken.3pm|151|\*(C`allison@perl.org\*(C'\fR |Allison Randal \f(CW\*(C`allison@perl.org\*(C'\fR
) (rof_escape_sequence|91|Pod::Simple::PullParserTextToken.3pm|153|\*(C`hdp@cpan.org\*(C'\fR |Hans Dieter Pearcey \f(CW\*(C`hdp@cpan.org\*(C'\fR
) (rof_escape_sequence|91|Pod::Simple::PullParserTextToken.3pm|155|\*(C`dwheeler@cpan.org\*(C'\fR |David E. Wheeler \f(CW\*(C`dwheeler@cpan.org\*(C'\fR
)