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.