http://qs321.pair.com?node_id=291306


in reply to Seven habits of highly careful coders

Greetings mandog,

At my job, I've instituted a lot of standard coding practices for our department. Here are a few that I think are habits of careful coders:

  1. use strict;
  2. use warnings;
  3. Use CPAN for as much of the work as possible
  4. Use tainting when dealing with CGIs
  5. POD or otherwise document everything (if not in POD, have a good reason why)
  6. $CGI::DISABLE_UPLOADS = 1;
  7. $CGI::POST_MAX = 4092; (or some other appropriate number)

gryphon
code('Perl') || die;