warn pre-start() errors
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 4 Jun 2008 22:56:25 +0000 (22:56 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Wed, 4 Jun 2008 22:56:25 +0000 (22:56 +0000)
commit58ad0f73721365480cd2c2bc844af04146ba1941
treef4b4b2dbd25cd1755c76624c0f4cb0e9f7fd269a
parent3635c4ef0b6ceb2d7e95e66adbac3a8b66066521
warn pre-start() errors

Early warnings (cgi 403/404) should warn instead of print to STDERR.
This allows them to be handled by $SIG{__WARN__} (usually not set, but
used in tests).
lib/PLP/Backend/CGI.pm
t/50-cgi.t