On 2010-10-21 18:02:53, alastair.douglas@gmail.com wrote:
Show quoted text> It seems like only .pl and no extension at all are considered Perl
scripts:
Show quoted text> Anything else, and the dependencies are not scraped and nothing but
> the script itself is packed. This is not documented, hence I assume it
> is a bug.
It's kinda documented if you know where to look :)
cf.
http://search.cpan.org/~rschupp/Module-ScanDeps-0.98/lib/Module/ScanDeps.pm#NOTES
about $Module::ScanDeps::ScanFileRE
We can definitely add a remark along these lines to the pp's POD.
Or we can fix it by calling into Module::ScanDeps with
$Module::ScanDeps::ScanFileRE = qr/./;
This is definitely how perl itself works: the command line
and "require" do NOT discriminate against any suffix (or lack of).
Cheers, Roderich