All you need to do (assuming mod_perl2) is:
 - set the content-type (to whatever file type you are sending)
 - use $r->sendfile('filename')

See
http://perl.apache.org/docs/2.0/api/Apache2/RequestIO.html#C_sendfile_
Good point. Something learnt today.

Reply via email to