diff options
| author | beatrice <beatrice@dangofactory.net> | 2026-11-22 20:00:14 +0900 |
|---|---|---|
| committer | beatrice <beatrice@dangofactory.net> | 2026-11-22 20:00:14 +0900 |
| commit | 8f68d02045982da8f00a559835b500caf3a1967d (patch) | |
| tree | c8d0e92969b92e1b6559a0e032b6aa710a8ae2d9 /web/bin/lib/Pod/Simple/TranscodeSmart.pm | |
| parent | bb5ff95073e5001be7dbf58ffce80d7926deff0b (diff) | |
| download | mrtg-master.tar.gz mrtg-master.zip | |
Diffstat (limited to 'web/bin/lib/Pod/Simple/TranscodeSmart.pm')
| -rw-r--r-- | web/bin/lib/Pod/Simple/TranscodeSmart.pm | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/web/bin/lib/Pod/Simple/TranscodeSmart.pm b/web/bin/lib/Pod/Simple/TranscodeSmart.pm deleted file mode 100644 index 3fc26a4..0000000 --- a/web/bin/lib/Pod/Simple/TranscodeSmart.pm +++ /dev/null @@ -1,42 +0,0 @@ - -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; - -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) = $_[1]; - die "WHAT ENCODING!?!?" unless $e; - my $x; - return sub { - foreach $x (@_) { - $x = Encode::decode($e, $x); - } - return; - }; -} - - -1; - - |
