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

📄 mod.t

📁 早期freebsd实现
💻 T
字号:
#!./perl# $Header: mod.t,v 4.0 91/03/20 01:49:33 lwall Locked $print "1..7\n";print "ok 1\n" if 1;print "not ok 1\n" unless 1;print "ok 2\n" unless 0;print "not ok 2\n" if 0;1 && (print "not ok 3\n") if 0;1 && (print "ok 3\n") if 1;0 || (print "not ok 4\n") if 0;0 || (print "ok 4\n") if 1;$x = 0;do {$x[$x] = $x;} while ($x++) < 10;if (join(' ',@x) eq '0 1 2 3 4 5 6 7 8 9 10') {	print "ok 5\n";} else {	print "not ok 5\n";}$x = 15;$x = 10 while $x < 10;if ($x == 15) {print "ok 6\n";} else {print "not ok 6\n";}open(foo,'TEST') || open(foo,'t/TEST');$x = 0;$x++ while <foo>;print $x > 50 && $x < 1000 ? "ok 7\n" : "not ok 7\n";

⌨️ 快捷键说明

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