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

📄 02____destroy.t

📁 SinFP是一种新的识别对方计算机操作系统类型的工具
💻 T
字号:
#!perl -wuse strict;no strict "vars";use Bit::Vector;# ======================================================================#   $set->DESTROY();# ======================================================================print "1..15\n";$n = 1;$set = 1;if (ref($set) eq ''){print "ok $n\n";} else {print "not ok $n\n";}$n++;eval { $set->DESTROY(); };if ($@ =~ /Can't call method "DESTROY" without a package or object reference/){print "ok $n\n";} else {print "not ok $n\n";}$n++;eval { Bit::Vector::DESTROY($set); };unless ($@){print "ok $n\n";} else {print "not ok $n\n";}$n++;$obj = 0x00088850;$set = \$obj;if (ref($set) eq 'SCALAR'){print "ok $n\n";} else {print "not ok $n\n";}$n++;eval { $set->DESTROY(); };if ($@ =~ /Can't call method "DESTROY" on unblessed reference/){print "ok $n\n";} else {print "not ok $n\n";}$n++;eval { Bit::Vector::DESTROY($set); };unless ($@){print "ok $n\n";} else {print "not ok $n\n";}$n++;$obj = 0x000E9CE0;$set = \$obj;bless($set, 'Bit::Vector');if (ref($set) eq 'Bit::Vector'){print "ok $n\n";} else {print "not ok $n\n";}$n++;eval { $set->DESTROY(); };unless ($@){print "ok $n\n";} else {print "not ok $n\n";}$n++;eval { Bit::Vector::DESTROY($set); };unless ($@){print "ok $n\n";} else {print "not ok $n\n";}$n++;$set = new Bit::Vector(1);if (ref($set) eq 'Bit::Vector'){print "ok $n\n";} else {print "not ok $n\n";}$n++;eval { $set->DESTROY(); };unless ($@){print "ok $n\n";} else {print "not ok $n\n";}$n++;if (ref($set) eq 'Bit::Vector'){print "ok $n\n";} else {print "not ok $n\n";}$n++;if (defined(${$set}) && (${$set} == 0)){print "ok $n\n";} else {print "not ok $n\n";}$n++;eval { $set->DESTROY(); };unless ($@){print "ok $n\n";} else {print "not ok $n\n";}$n++;eval { $set = 0; };unless ($@){print "ok $n\n";} else {print "not ok $n\n";}$n++;__END__

⌨️ 快捷键说明

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