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.