mention refaddr() in overload::StrVal docs
[p5sagit/p5-mst-13.2.git] / lib / overload.pm
index 7d94cc7..a75c817 100644 (file)
@@ -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)