Subject: | Files with no extension can't be assumed to contain Perl |
The documentation states that files with no extension are returned by
all_pl_files, and this is indeed what happens:
https://metacpan.org/source/EGILES/Test-Compile-
0.24/lib/Test/Compile/Internal.pm#L144
In our organisation we have many bash scripts with no extension in our
'script' directory, alongside perl scripts. We believe scripts should be
named and organised by feature/functionality, not by which language they
were written in.
Would it be possible to modify Test::Compile::Internal so that it checks
whether or not files with no extension are actually Perl files? It could
use the shebang line, or perhaps a module already exists for this.
What do you think?