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).
In reply to Re: mod_perl and CGI::header
by PodMaster
in thread mod_perl and CGI::header
by saberworks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |