Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
836 B

  1. package CPAN::Nox;
  2. use strict;
  3. use vars qw($VERSION @EXPORT);
  4. BEGIN{
  5. $CPAN::Suppress_readline=1 unless defined $CPAN::term;
  6. }
  7. use base 'Exporter';
  8. use CPAN;
  9. $VERSION = "1.00";
  10. $CPAN::META->has_inst('MD5','no');
  11. $CPAN::META->has_inst('LWP','no');
  12. $CPAN::META->has_inst('Compress::Zlib','no');
  13. @EXPORT = @CPAN::EXPORT;
  14. *AUTOLOAD = \&CPAN::AUTOLOAD;
  15. __END__
  16. =head1 NAME
  17. CPAN::Nox - Wrapper around CPAN.pm without using any XS module
  18. =head1 SYNOPSIS
  19. Interactive mode:
  20. perl -MCPAN::Nox -e shell;
  21. =head1 DESCRIPTION
  22. This package has the same functionality as CPAN.pm, but tries to
  23. prevent the usage of compiled extensions during it's own
  24. execution. It's primary purpose is a rescue in case you upgraded perl
  25. and broke binary compatibility somehow.
  26. =head1 SEE ALSO
  27. CPAN(3)
  28. =cut