That code will give a plan of 1 test when you probably wanted 11.
In reply to Re^2: RFC: Another test module - Test::NoPlan by tilly in thread RFC: Another test module - Test::NoPlan by duncs