Aha. I was sure there was a way to do it without faking out
stupid browsers... there'd be hell to pay if ever anyone
actually made a good, smart browser!
Now that I know what to look for, I was searching through
cgi.pm, I found some code dealing with Content-Disposition,
and looks like they've got it covered through the Attachment
parameter:
print $query->header(-type=>'application/octet-stream',
-attachment=>'foo.doc');
Thanks!
--
I write the code while the master is away!