ecuguru has asked for the wisdom of the Perl Monks concerning the following question:
Works great, but I'd like to zip the 'file' before I send it to the user. I guess I could dump the contents of the variable to a temp file, zip the temp file, then send the whole file to the user, but it seems inefficent.print <<"CSV"; Content-Type: application/dat; charset=us-ascii Content-Disposition: attachment; filename="$fileName"\n $csvFile CSV }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Zip a variable?
by svenXY (Deacon) on Jan 13, 2006 at 10:51 UTC | |
by ecuguru (Monk) on Jan 13, 2006 at 10:55 UTC | |
|
Re: Zip a variable?
by CountOrlok (Friar) on Jan 13, 2006 at 15:21 UTC |