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

📄 0-signature.t

📁 source of perl for linux application,
💻 T
字号:
#!/usr/bin/perluse strict;print "1..1\n";if (!$ENV{TEST_SIGNATURE}) {    print "ok 1 # skip set the environment variable TEST_SIGNATURE to enable this test\n";}elsif (!-s 'SIGNATURE') {    print "ok 1 # skip No signature file found\n";}elsif (!eval { require Module::Signature; 1 }) {    print "ok 1 # skip ",	    "Next time around, consider install Module::Signature, ",	    "so you can verify the integrity of this distribution.\n";}elsif (!eval { require Socket; Socket::inet_aton('pgp.mit.edu') }) {    print "ok 1 # skip ",	    "Cannot connect to the keyserver\n";}else {    (Module::Signature::verify() == Module::Signature::SIGNATURE_OK())	or print "not ";    print "ok 1 # Valid signature\n";}__END__

⌨️ 快捷键说明

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