[EMAIL PROTECTED] wrote:
I'm looking for Perl coding standards. I found some in the net but seems
they are just web pages not really in use.

I was looking for really in use perl coding standards and some opinions
about them.

I would also like to know if there is tools checking for this standards.

For know I'm using 'perl -w' and 'use strict' as basic standards but
probably shall exist more tools for this.

`perldoc perlstyle`

is the place to start. From there, check the results from:

<http://www.google.com/search?q=perl%20coding%20style>

For example, the style guide for mod_perl is pretty good and generally applicable.

Most decent editors (like emacs) support formating of code which is just one aspect of code style & standards, but the easiest to enforce.

There are also some tools for generating perl metrics; metrics can be used to provide a degree of enforcement or at least detection of some standards. For example Paul Johnson (who also hangs out here) has a module that measures coverage. Find more at <http://qa.perl.org/> which has usefull pointers to the qa mailing list, the Phalanx project, etc. Also check out the CPANTS project which is supposed to track usefull metrics about CPAN modules. I think there are some other modules on CPAN that might be helpfull for testing metrics, but I can't think of them at the moment.

Randy.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to