dir_dirname#

Return the on-disk path for a File::Temp::Dir object.

Σύνοψη#

my $path = $dir->dirname;

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

The directory pathname as a string, or undef if called on something that is not a File::Temp::Dir.

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

my $dir = File::Temp->newdir;
my $p   = $dir->dirname;                    # same as "$dir"

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

Fully compatible with upstream File::Temp 0.2312.

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

  • File::Temp->newdir - constructor that returns objects answering this method.

  • filename - the analogous accessor on File::Temp.