stringify#

Overload handler for "" - stringify a File::Temp object to its filename.

Σύνοψη#

my $tmp = File::Temp->new;
print "wrote to $tmp\n";                    # calls STRINGIFY

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

The object’s pathname as a string, or the empty string if the filename is not known.

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

Fully compatible with upstream File::Temp 0.2312.

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

  • filename - explicit accessor with the same result.

  • NUMIFY - companion overload used for numeric comparisons.