There was a pretty good discussion of temp file creation techniques not long ago in Temporary text files with File::Temp. You might find that useful.
In reply to Re: temporary files in .t scripts
by kyle
in thread temporary files in .t scripts
by esobchenko
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |