in reply to output a file from perl online

You have to send the files name in the HTTP-header:
Content-Disposition: Attachment; filename=somefile.dat


holli, /regexed monk/

Replies are listed 'Best First'.
Re^2: output a file from perl online
by ecuguru (Monk) on Aug 31, 2005 at 06:18 UTC
    Worked perfect, thanks!
    print <<"THANKS"; Content-Type: application/kml; charset=us-ascii Content-Disposition: attachment; filename="attach.dat"\n\n