in reply to Unique filehandle -- what is correct?
$random_number = rand(); $tmpfile="TEMPFILE.random_number"; open OUT, ">$tmpfile"; print OUT $mydata; close OUT; # process the file..... ..... #end of processing unlink ($tmpfile);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unique filehandle -- what is correct?
by i5513 (Pilgrim) on Dec 11, 2011 at 12:34 UTC |