Skip Menu |

This queue is for tickets about the C-Analyzer CPAN distribution.

Report information
The Basics
Id: 58062
Status: new
Priority: 0/
Queue: C-Analyzer

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.02
Fixed in: (no value)



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/