in reply to How Do I Bundle Perl Modules and Their Tests Into the Same File?
package abc; ... return 1 if caller; package main; my $abc = abc->new(); ...
To run the tests, use
perl \path\to\lib\abc.pm
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How Do I Bundle Perl Modules and Their Tests Into the Same File?
by salva (Canon) on Feb 13, 2006 at 08:45 UTC | |
by BrowserUk (Patriarch) on Feb 13, 2006 at 12:46 UTC |