The previous method (__END__;#!perl + perl -x module.pm), while more cumbersome in some ways, lets you do compile time work as normal.
--DrWhy
"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."
In reply to Re^2: Self-testing modules
by DrWhy
in thread Self-testing modules
by DrWhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |