filename#

Return the on-disk path associated with a File::Temp object.

Σύνοψη#

my $path = $tmp->filename;

Τι επιστρέφεται#

The filename string the object was opened against, or undef if the argument is not a recognised File::Temp handle.

Παραδείγματα#

my $tmp = File::Temp->new;
print "writing to ", $tmp->filename, "\n";

Διαφορές από το upstream#

Fully compatible with upstream File::Temp 0.2312.

Δείτε επίσης#

  • File::Temp->new - constructs the objects this method queries.

  • dirname - the analogous accessor on File::Temp::Dir.