require 5; use 5.008; ## Anything before 5.8.0 is GIMPY! ## This module is to be use()'d only by Pod::Simple::Transcode package Pod::Simple::TranscodeSmart; use strict; use Pod::Simple; require Encode; use vars qw($VERSION ); $VERSION = '3.35'; sub is_dumb {0} sub is_smart {1} sub all_encodings { return Encode::->encodings(':all'); } sub encoding_is_available { return Encode::resolve_alias($_[1]); } sub encmodver { return "Encode.pm v" .($Encode::VERSION || '?'); } sub make_transcoder { my $e = Encode::find_encoding($_[1]); die "WHAT ENCODING!?!?" unless $e; my $x; return sub { foreach $x (@_) { $x = $e->decode($x) unless Encode::is_utf8($x); } return; }; } 1;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
BlackBox.pm | File | 70.9 KB | 0644 |
|
Checker.pm | File | 5.21 KB | 0644 |
|
Debug.pm | File | 4.52 KB | 0644 |
|
DumpAsText.pm | File | 3.94 KB | 0644 |
|
DumpAsXML.pm | File | 4.45 KB | 0644 |
|
HTML.pm | File | 33.8 KB | 0644 |
|
HTMLBatch.pm | File | 39.2 KB | 0644 |
|
HTMLLegacy.pm | File | 2.69 KB | 0644 |
|
LinkSection.pm | File | 4.24 KB | 0644 |
|
Methody.pm | File | 3.49 KB | 0644 |
|
Progress.pm | File | 2.36 KB | 0644 |
|
PullParser.pm | File | 25.13 KB | 0644 |
|
PullParserEndToken.pm | File | 2.82 KB | 0644 |
|
PullParserStartToken.pm | File | 4.05 KB | 0644 |
|
PullParserTextToken.pm | File | 3.28 KB | 0644 |
|
PullParserToken.pm | File | 3.91 KB | 0644 |
|
RTF.pm | File | 21.96 KB | 0644 |
|
Search.pm | File | 34.29 KB | 0644 |
|
SimpleTree.pm | File | 4.52 KB | 0644 |
|
Subclassing.pod | File | 32.51 KB | 0644 |
|
Text.pm | File | 4.98 KB | 0644 |
|
TextContent.pm | File | 2.46 KB | 0644 |
|
TiedOutFH.pm | File | 2.69 KB | 0644 |
|
Transcode.pm | File | 736 B | 0644 |
|
TranscodeDumb.pm | File | 2.63 KB | 0644 |
|
TranscodeSmart.pm | File | 715 B | 0644 |
|
XHTML.pm | File | 25.78 KB | 0644 |
|
XMLOutStream.pm | File | 4.56 KB | 0644 |
|