Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^3: Very Odd Issue When Using pp to Create an .exe File Including Date::Calcby swl (Parson) |
on Jun 28, 2017 at 23:50 UTC ( [id://1193792]=note: print w/replies, xml ) | Need Help?? |
No worries perldigious. As haukex noted, Module::ScanDeps is a regexp based parser so it's perhaps not surprising that it misses some things when parsing perl code. That said, I had a quick look at the Module::ScanDeps code and it's probably in scan_line where it does an early return while processing semicolon separated chunks and it finds a chunk where a perl version >= 5.9.5 is being used (currently line 812). When it finds a matching chunk it returns feature.pm and thus stops processing the rest of the line. It should probably add feature.pm to %found and call next instead. There looks to be a similar issue in the following block where it handles pragmas. If I get a chance I'll submit a pull request to the github repo, but others are welcome to beat me to it as it won't be today.
In Section
Seekers of Perl Wisdom
|
|