A swath of VERSION patches from Nicholas Clark.
[p5sagit/p5-mst-13.2.git] / lib / CPAN / Nox.pm
index e9cb189..062e5ff 100644 (file)
@@ -1,17 +1,26 @@
 package CPAN::Nox;
+use strict;
+use vars qw($VERSION @EXPORT);
 
-BEGIN{$CPAN::Suppress_readline=1 unless defined $CPAN::term;}
+BEGIN{
+  $CPAN::Suppress_readline=1 unless defined $CPAN::term;
+}
 
+use base 'Exporter';
 use CPAN;
 
-$VERSION = "1.00";
-$CPAN::META->has_inst('MD5','no');
+$VERSION = "1.03";
+$CPAN::META->has_inst('Digest::MD5','no');
 $CPAN::META->has_inst('LWP','no');
 $CPAN::META->has_inst('Compress::Zlib','no');
 @EXPORT = @CPAN::EXPORT;
 
 *AUTOLOAD = \&CPAN::AUTOLOAD;
 
+1;
+
+__END__
+
 =head1 NAME
 
 CPAN::Nox - Wrapper around CPAN.pm without using any XS module
@@ -25,8 +34,8 @@ Interactive mode:
 =head1 DESCRIPTION
 
 This package has the same functionality as CPAN.pm, but tries to
-prevent the usage of compiled extensions during it's own
-execution. It's primary purpose is a rescue in case you upgraded perl
+prevent the usage of compiled extensions during its own
+execution. Its primary purpose is a rescue in case you upgraded perl
 and broke binary compatibility somehow.
 
 =head1  SEE ALSO