in reply to Re^4: Should I just print my own HTTP headers?
in thread Should I just print my own HTTP headers?
You could do that by deleting 'CGI.pm' from %INC. You'd then probably get a lot of warnings on redefined subs, so you should rather do something like
delete $INC{'CGI.pm'}; no warnings 'redefine'; # or 'redefined'? Gah, I hate that! require CGI; my $cgi = CGI->new; print OUT $cgi->header;
Also, CGI->new parses the form parameters, you should take that into account. It's something you probably want to do anyway.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Should I just print my own HTTP headers?
by Cap'n Steve (Friar) on Apr 06, 2007 at 21:20 UTC | |
by eric256 (Parson) on Apr 07, 2007 at 00:01 UTC | |
by Cap'n Steve (Friar) on Apr 07, 2007 at 06:25 UTC | |
by eric256 (Parson) on Apr 07, 2007 at 15:20 UTC | |
by BrowserUk (Patriarch) on Apr 07, 2007 at 15:57 UTC |