in reply to Not your normal " Premature end of script headers:"
use CGI::Carp qw( fatalsToBrowser );
This gives you the error through the server that ends up in your browser, if it can, instead of through your log files. It's a nice, quick tool to use when debugging this sort of thing. It takes care of putting out headers for itself and everything.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Not your normal " Premature end of script headers:"
by yegg (Acolyte) on Jun 18, 2008 at 17:04 UTC | |
by mr_mischief (Monsignor) on Jun 18, 2008 at 17:17 UTC | |
by yegg (Acolyte) on Jun 18, 2008 at 19:03 UTC |