I remember working with some module that had tests something like:

  use Test::More;
  plan tests => numtests();

  ...

  is($foo, $bar, 'foo is bar');

  sub numtests { 13 }

So that when you added a new test to the bottom, the number to modify
was right there also.  Ring a bell with anyone?

Reply via email to