in reply to how do I read this Perl code..
Wouldn't the -e test be better than -f? That is, if TMPDIR/runitout_XXXXXX exists as a directory, won't -f return false?
throop