numify#
Overload handler for 0+ - numify a File::Temp object to its reference address.
Σύνοψη#
my $tmp = File::Temp->new;
print 0 + $tmp, "\n"; # the refaddr
$tmp == $other_handle # compares by identity
Τι επιστρέφεται#
The integer refaddr of the underlying reference - the same value Scalar::Util::refaddr would return.
Διαφορές από το upstream#
Fully compatible with upstream File::Temp 0.2312.
Δείτε επίσης#
STRINGIFY- companion overload used for string contexts.