- or download this
#!perl -I.
#t.pl
...
use warnings;
use XTest;
print "ok\n";
- or download this
#XTest.pm
package XTest;
use strict;
use warnings;
1;
- or download this
F:\tmp\test>dir *.p*
...
BEGIN failed--compilation aborted at test\t.pl line 4.
F:\tmp>