in reply to The -w switch on a web application
Using if (defined($something)) statements is trying to get rid of the symptoms. Instead, make sure that each variable you use is properly initialized. This will make your code much more robust and resilient against probable attacks. For Web-stuff, I think it's wise to not only use strict and warnings, but also the -T (taint checking) command-line option.
|
|---|