Yitzchak Scott-Thoennes <[EMAIL PROTECTED]> writes: > main() unless caller;
I use this (and teach it in my trainings) as an easy way to insert
some basic verification tests in modules. At the end of the module:
unless ( caller ) {
package main;
... insert test code ...
}
-- Johan
