Add =pod to be tidy.
[p5sagit/p5-mst-13.2.git] / lib / CPAN / Nox.pm
index b0b70fe..8b59ca0 100644 (file)
@@ -1,13 +1,24 @@
-BEGIN{$CPAN::Suppress_readline++;}
+package CPAN::Nox;
+use strict;
+use vars qw($VERSION @EXPORT);
 
+BEGIN{
+  $CPAN::Suppress_readline=1 unless defined $CPAN::term;
+}
+
+use base 'Exporter';
 use CPAN;
 
-$CPAN::META->hasMD5(0);
-$CPAN::META->hasLWP(0);
+$VERSION = "1.00";
+$CPAN::META->has_inst('MD5','no');
+$CPAN::META->has_inst('LWP','no');
+$CPAN::META->has_inst('Compress::Zlib','no');
 @EXPORT = @CPAN::EXPORT;
 
 *AUTOLOAD = \&CPAN::AUTOLOAD;
 
+__END__
+
 =head1 NAME
 
 CPAN::Nox - Wrapper around CPAN.pm without using any XS module