Source code of Windows XP (NT5)
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.

37 lines
715 B

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