- or download this
Note that the default being ISO-8859-1 may not
make sense for all content types, e.g.
...
In the above case you need to pass -charset => ''
to prevent the default being used.
- or download this
# mycgi.pl
use CGI;
...
open (IMAGE, '<', 'foo.xls');
print <IMAGE>;
close IMAGE;
- or download this
while true; do { echo -ne "HTTP/1.1 200 OK\r\n"; perl mycgi.pl; } | nc
+ -l -k 8080; done