(Top) < Writing a run-mode method: start() | print() considered harmful > |
Never put CGI headers into your output.
CGI::Application will prepend the header when you have finished.
To change the header that will be used:
$webapp->header_props(-type => 'image/gif', -expires => '+3d'); $webapp->header_type('none'); |
CGI::Application (v.2.0) |
16 |