in reply to mod_perl and CGI::header
The CGI module is designed so that you can take the above script, stick it under Apache::Registry (or equivalent) and it will still work without any modifications.use CGI 'header'; use strict; print header(-type=>'text/plain'),"hi\nthere\nbuddy";
If you want the headers to be returned and not sent, $nph needs to be true (-nph =>1).
|
|---|