dir_dirname#

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

Synopsis#

my $path = $dir->dirname;

What you get back#

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

Examples#

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

Differences from upstream#

Fully compatible with upstream File::Temp 0.2312.

See also#

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

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