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.28'; 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 | 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 |
|