diff options
author | Fergal Daly <fergal@esatclear.ie> | 2004-07-30 17:09:19 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-08-02 09:11:12 +0000 |
commit | 6a0e9e729887ef408896cb941e158abe23871017 (patch) | |
tree | 229da15a2280c2aaab4eecc48288522968a64a05 /lib/overload.pm | |
parent | 3a853408f051116868e8714b90365eb2581caf59 (diff) | |
download | perl-6a0e9e729887ef408896cb941e158abe23871017.tar.gz |
mention refaddr() in overload::StrVal docs
Message-ID: <20040730150919.GB19022@dyn.fergaldaly.com>
p4raw-id: //depot/perl@23182
Diffstat (limited to 'lib/overload.pm')
-rw-r--r-- | lib/overload.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/overload.pm b/lib/overload.pm index 7d94cc7c02..a75c817933 100644 --- a/lib/overload.pm +++ b/lib/overload.pm @@ -704,7 +704,10 @@ Package C<overload.pm> provides the following public functions: =item overload::StrVal(arg) -Gives string value of C<arg> as in absence of stringify overloading. +Gives string value of C<arg> as in absence of stringify overloading. If you +are using this to get the address of a reference (useful for checking if two +references point to the same thing) then you may be better off using +C<Scalar::Util::refaddr()>, which is faster. =item overload::Overloaded(arg) |