summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorDan Book <grinnz@grinnz.com>2021-08-04 15:55:35 -0400
committerPaul Evans <leonerd@leonerd.org.uk>2021-08-22 14:53:30 +0100
commit38b5dc294ed4ebbdc84f167eb5766db6230bdbe6 (patch)
tree28c43a8b533020abe0e5256233a53096a8f01e06 /pod/perlfunc.pod
parent213dc9d1dd41762afd38cca1e663ed29a5cedca8 (diff)
downloadperl-38b5dc294ed4ebbdc84f167eb5766db6230bdbe6.tar.gz
perlfunc 'ref' and UNIVERSAL: document isa operator alternative
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod4
1 files changed, 3 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 8227969f4f..6ae2ea1222 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -6578,7 +6578,9 @@ L<C<Scalar::Util::blessed()>|Scalar::Util/blessed> for information about
blessing, and L<C<Scalar::Util::reftype()>|Scalar::Util/reftype> for
information about physical types. Use L<the C<isa> method|UNIVERSAL/C<<
$obj->isa( TYPE ) >>> for class membership tests, though one must be
-sure of blessedness before attempting a method call.
+sure of blessedness before attempting a method call. Alternatively, the
+L<C<isa> operator|perlop/"Class Instance Operator"> can test class
+membership without checking blessedness first.
See also L<perlref> and L<perlobj>.