Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These run as user nobody and need to be super secure. Read the Perl Cookbook and "Writing a Safe Secure CGI program". Always use the taint mode (-T).  
When open'ing a file use the three argument form of open (open FILEHANDLE, MODE, LEFT; ) when possible. This will prevent the redirect mode symbol(s) from being misinterpreted as part of the filename. This can be especially important when a user might provide the filename (e.g. in CGI script) and maliciously or unintentionally include a redirct symbol(s) in the filename.

PerlTidy

To ease formatting and translations of the various coding styles available, it is recommended that the tool PerlTidy should be used to (re)format code to the format desired.

...