open(TMP, "+>", undef) or die ... #### open($fh, '>', \$variable) || .. #### .
## open($fh, '>', \$variable) || .. ##
## .