On Sun, 24 Sep 2000, Nathan Wiger wrote: > > Offer simple functions to set HTTP headers (e.g. content type, result codes) > How about %HTTP, which is just flushed on the first line of output? > use cgi; > $HTTP{'Content-type'} = 'text/html'; > print "Hello!"; # flushes %HTTP first I like this a lot, but you need to make sure that it flushes the hash in the right order if multiple keys are present. Dave
- RFC 288 (v1) First-Class CGI Support Perl6 RFC Librarian
- Re: RFC 288 (v1) First-Class CGI Support Hildo Biersma
- Re: RFC 288 (v1) First-Class CGI Support tadmc
- Re: RFC 288 (v1) First-Class CGI Support Uri Guttman
- Re: RFC 288 (v1) First-Class CGI Support Randal L. Schwartz
- Re: RFC 288 (v1) First-Class CGI Support Richard Proctor
- Re: RFC 288 (v1) First-Class CGI Support Jonathan Scott Duff
- Re: RFC 288 (v1) First-Class CGI Support Bart Lateur
- Re: RFC 288 (v1) First-Class CGI Support Dave Storrs
- Re: RFC 288 (v1) First-Class CGI Support Alan Gutierrez
- Re: RFC 288 (v1) First-Class CGI Support Adam Turoff