in reply to Re: Re: Non-Duplicate File Names, Security, and Self Cleaning
in thread Non-Duplicate File Names, Security, and Self Cleaning
The trick is sending the file in the same process, before you unlink it.
use File::Copy; # generate tar file, path is in $filename print $q->header( 'archive/tar' ); copy( $filename, \*STDOUT ); END { unlink $filename; }
|
|---|