Hello all! I thought this was going to be an easy solution to come up with, but after hours searching the web I can't seem to figure it out.
I have a perl script I wrote that takes input from a web-based form and generates simple text output. I started by having the perl script just generate HTML that of course displayed on screen. Now I would like to have this perl script generate a Microsoft Word .doc document and prompt me to download it. I don't have any special formatting going into the file. It's just plain old text.
How do I go about doing this?
I've seen about using content-type and content-disposition, but those don't seem to be doing anything for me.
Thanks much in advance for any help!