summaryrefslogtreecommitdiff
path: root/chromium/third_party/cygwin/lib/perl5/5.10/Pod/Simple/Transcode.pm
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/cygwin/lib/perl5/5.10/Pod/Simple/Transcode.pm')
-rw-r--r--chromium/third_party/cygwin/lib/perl5/5.10/Pod/Simple/Transcode.pm33
1 files changed, 33 insertions, 0 deletions
diff --git a/chromium/third_party/cygwin/lib/perl5/5.10/Pod/Simple/Transcode.pm b/chromium/third_party/cygwin/lib/perl5/5.10/Pod/Simple/Transcode.pm
new file mode 100644
index 00000000000..434f963388b
--- /dev/null
+++ b/chromium/third_party/cygwin/lib/perl5/5.10/Pod/Simple/Transcode.pm
@@ -0,0 +1,33 @@
+
+require 5;
+package Pod::Simple::Transcode;
+
+BEGIN {
+ if(defined &DEBUG) {;} # Okay
+ elsif( defined &Pod::Simple::DEBUG ) { *DEBUG = \&Pod::Simple::DEBUG; }
+ else { *DEBUG = sub () {0}; }
+}
+
+foreach my $class (
+ 'Pod::Simple::TranscodeSmart',
+ 'Pod::Simple::TranscodeDumb',
+ '',
+) {
+ $class or die "Couldn't load any encoding classes";
+ DEBUG and print "About to try loading $class...\n";
+ eval "require $class;";
+ if($@) {
+ DEBUG and print "Couldn't load $class: $@\n";
+ } else {
+ DEBUG and print "OK, loaded $class.\n";
+ @ISA = ($class);
+ last;
+ }
+}
+
+sub _blorp { return; } # just to avoid any "empty class" warning
+
+1;
+__END__
+
+