Is there a way, given a module on CPAN to determine if that module can run in the Perl Compiler, (perlcc
).
If I try to compile the testing suite itself, running the ./t
files does not produce any output.
Here is test.t
,
#!/usr/bin/perl
use Test::More;
ok(1);
done_testing;
If I run it I get,
$ perl ./t/test.t
ok 1
1..1
But if I compile it using perlcc ./t/test.t
and run that ./t/test
I get no output.
Is there a method to test a module for compatibility with the Perl compiler?