-
Notifications
You must be signed in to change notification settings - Fork 601
Closed
Labels
Description
Where
UNIVERSAL.pm
Description
Documentation of method isa. The sentence below makes no sense:
If you want to be sure that you're calling isa as a method, not a class, check the invocand with blessed from Scalar::Util first:
Suggested fix:
index 5e9537daae..79dda9459e 100644
--- a/lib/UNIVERSAL.pm
+++ b/lib/UNIVERSAL.pm
@@ -82,7 +82,7 @@ reference. The L<C operator|perlop/"Class Instance Operator"> is an
alternative that simply returns false in this case, so the C is not
needed.
-If you want to be sure that you're calling C as a method, not a class,
+If you want to be sure that you're calling C on an instance, not a class,
check the invocand with C from LScalar::Util first:
use Scalar::Util 'blessed';