in reply to Eliminating duplicated code in multiple test scripts using Test::More

Yes, it's common to put common test code in a separate file. Usually a simple require "t/common_code.pl"; does the trick, though. Many modules in CPAN do that.

  • Comment on Re: Eliminating duplicated code in multiple test scripts using Test::More
  • Download Code