filename#
Return the on-disk path associated with a File::Temp object.
Synopsis#
my $path = $tmp->filename;
What you get back#
The filename string the object was opened against, or undef if
the argument is not a recognised File::Temp handle.
Examples#
my $tmp = File::Temp->new;
print "writing to ", $tmp->filename, "\n";
Differences from upstream#
Fully compatible with upstream File::Temp 0.2312.
See also#
File::Temp->new— constructs the objects this method queries.dirname— the analogous accessor onFile::Temp::Dir.