文件操作 - pre_plan_death.plx
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/perl-Test-Simple/t/lib/Test/Simple/sample_tests/pre_plan_death.plx
编辑文件内容
# ID 20020716.013, the exit code would become 0 if the test died # before a plan. require Test::Simple; push @INC, 't/lib'; require Test::Simple::Catch; my($out, $err) = Test::Simple::Catch::caught(); close STDERR; die "Knife?"; Test::Simple->import(tests => 3); ok(1); ok(1); ok(1);
修改文件时间
将文件时间修改为当前时间的前一年
删除文件