So $fh and $tempfile both end up like this /tmp/DZ4R093.txt. I want to be able to read the data from the temp file using $tempfile. Why is it giving me the path of the temp file?$fh = File::Temp->new(SUFFIX=>'.txt'); $tempfile = $fh->filename;
In reply to Read from temp file by ITmajor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |