package abc; ... return 1 if caller; package main; my $abc = abc->new(); ...
To run the tests, use
perl \path\to\lib\abc.pm
In reply to Re: How Do I Bundle Perl Modules and Their Tests Into the Same File?
by BrowserUk
in thread How Do I Bundle Perl Modules and Their Tests Into the Same File?
by perlknight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |