... contents of module =test begin ok(1==1, "1 test") ok(2==2, "2 test") =test end #### > cat test.pl |grep -v "^test" > testfile > perl testfile; prove testfile