require 5; ## This module is to be use()'d only by Pod::Simple::Transcode package Pod::Simple::TranscodeDumb; use strict; use vars qw($VERSION %Supported); $VERSION = '3.28'; # This module basically pretends it knows how to transcode, except # only for null-transcodings! We use this when Encode isn't # available. %Supported = ( 'ascii' => 1, 'ascii-ctrl' => 1, 'iso-8859-1' => 1, 'null' => 1, 'latin1' => 1, 'latin-1' => 1, %Supported, ); sub is_dumb {1} sub is_smart {0} sub all_encodings { return sort keys %Supported; } sub encoding_is_available { return exists $Supported{lc $_[1]}; } sub encmodver { return __PACKAGE__ . " v" .($VERSION || '?'); } sub make_transcoder { my($e) = $_[1]; die "WHAT ENCODING!?!?" unless $e; my $x; return sub {; #foreach $x (@_) { # if(Pod::Simple::ASCII and !Pod::Simple::UNICODE and $] > 5.005) { # # We're in horrible gimp territory, so we need to knock out # # all the highbit things # $x = # pack 'C*', # map {; ($_ < 128) ? $_ : 0x7e } # unpack "C*", # $x # ; # } #} # #return; }; } 1;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
BlackBox.pm | File | 64.69 KB | 0644 |
|
Checker.pm | File | 5.24 KB | 0644 |
|
Debug.pm | File | 4.5 KB | 0644 |
|
DumpAsText.pm | File | 3.92 KB | 0644 |
|
DumpAsXML.pm | File | 4.29 KB | 0644 |
|
HTML.pm | File | 32.69 KB | 0644 |
|
HTMLBatch.pm | File | 39.55 KB | 0644 |
|
HTMLLegacy.pm | File | 2.69 KB | 0644 |
|
LinkSection.pm | File | 4.24 KB | 0644 |
|
Methody.pm | File | 3.48 KB | 0644 |
|
Progress.pm | File | 2.36 KB | 0644 |
|
PullParser.pm | File | 24.76 KB | 0644 |
|
PullParserEndToken.pm | File | 2.81 KB | 0644 |
|
PullParserStartToken.pm | File | 4.04 KB | 0644 |
|
PullParserTextToken.pm | File | 3.08 KB | 0644 |
|
PullParserToken.pm | File | 3.89 KB | 0644 |
|
RTF.pm | File | 21.14 KB | 0644 |
|
Search.pm | File | 32.7 KB | 0644 |
|
SimpleTree.pm | File | 4.47 KB | 0644 |
|
Subclassing.pod | File | 32.33 KB | 0644 |
|
Text.pm | File | 5.01 KB | 0644 |
|
TextContent.pm | File | 2.48 KB | 0644 |
|
TiedOutFH.pm | File | 2.67 KB | 0644 |
|
Transcode.pm | File | 699 B | 0644 |
|
TranscodeDumb.pm | File | 1.16 KB | 0644 |
|
TranscodeSmart.pm | File | 715 B | 0644 |
|
XHTML.pm | File | 24.93 KB | 0644 |
|
XMLOutStream.pm | File | 4.86 KB | 0644 |
|