Subject: | Don't use function prototypes |
In Perl, the "()" in a function definition ("sub xxx() { ... }") have a
special meaning: they are function prototypes.
See http://perldoc.perl.org/perlsub.html#Prototypes
This is quite different of other languages, and is quite evil, so "Perl
Best Practices" recommends to avoid them. You can check that with
Perl::Critic.
For example, replace:
sub getListOfCFiles() {
with:
sub getListOfCFiles {
--
Olivier Mengué - http://o.mengue.free.fr/