⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 textcontent.pm

📁 source of perl for linux application,
💻 PM
字号:
require 5;package Pod::Simple::TextContent;use strict;use Carp ();use Pod::Simple ();use vars qw( @ISA $VERSION );$VERSION = '2.02';@ISA = ('Pod::Simple');sub new {  my $self = shift;  my $new = $self->SUPER::new(@_);  $new->{'output_fh'} ||= *STDOUT{IO};  $new->nix_X_codes(1);  return $new;}#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sub _handle_element_start {  print {$_[0]{'output_fh'}} "\n"  unless $_[1] =~ m/^[A-Z]$/s;  return;}sub _handle_text {  if( chr(65) eq 'A' ) {     # in ASCIIworld    $_[1] =~ tr/\xAD//d;    $_[1] =~ tr/\xA0/ /;  }  print {$_[0]{'output_fh'}} $_[1];  return;}sub _handle_element_end {  print {$_[0]{'output_fh'}} "\n"  unless $_[1] =~ m/^[A-Z]$/s;  return;}#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@1;__END__=head1 NAMEPod::Simple::TextContent -- get the text content of Pod=head1 SYNOPSIS TODO  perl -MPod::Simple::TextContent -e \   "exit Pod::Simple::TextContent->filter(shift)->any_errata_seen" \   thingy.pod=head1 DESCRIPTIONThis class is that parses Pod and dumps just the text content.  It ismainly meant for use by the Pod::Simple test suite, but you may findsome other use for it.This is a subclass of L<Pod::Simple> and inherits all its methods.=head1 SEE ALSOL<Pod::Simple>, L<Pod::Simple::Text>, L<Pod::Spell>=head1 COPYRIGHT AND DISCLAIMERSCopyright (c) 2002 Sean M. Burke.  All rights reserved.This library is free software; you can redistribute it and/or modify itunder the same terms as Perl itself.This program is distributed in the hope that it will be useful, butwithout any warranty; without even the implied warranty ofmerchantability or fitness for a particular purpose.=head1 AUTHORSean M. Burke C<sburke@cpan.org>=cut

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -