⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 02nox.t

📁 source of perl for linux application,
💻 T
字号:
#!./perlif (! eval { require Test::More; 1 }) {  printf "1..1\nok 1 # Test::More not available: skipping %s\n", __FILE__;  exit;}require Test::More;Test::More->import(tests => 8);# use this first to $CPAN::term can be undefineduse_ok( 'CPAN' );$CPAN::Suppress_readline = $CPAN::Suppress_readline; # silence$CPAN::META = $CPAN::META; # silence$CPAN::term = $CPAN::term; # silenceundef $CPAN::term;# this kicks off all the magicuse_ok( 'CPAN::Nox' );# this will be set if $CPAN::term is undefinedis( $CPAN::Suppress_readline, 1, 'should set suppress readline flag' );# all of these modules have XS components, should be marked unavailablemy $mod;for $mod (qw( Digest::MD5 LWP Compress::Zlib )) {	is( $CPAN::META->has_inst($mod), 0, "$mod should be marked unavailable" );}# and these will be set to those in CPANis( scalar @CPAN::Nox::EXPORT, scalar @CPAN::EXPORT, 'should export just what CPAN does' );is( \&CPAN::Nox::AUTOLOAD, \&CPAN::AUTOLOAD, 'AUTOLOAD should be aliased' );# Local Variables:# mode: cperl# cperl-indent-level: 2# End:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -