http://www.perlmonks.org?node_id=517580


in reply to Re^2: Self Testing Modules
in thread Self Testing Modules

Happy-the-monk was correct, its actually unless(). And what i meant was to set up a proper test framework using h2xs, Test::More and Test::Harness. Then you can build a conventional Perl test framework, so eventually your module can be uploaded to CPAN (even if it never is, using the framework is still a big asset).

---
$world=~s/war/peace/g