summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-09 08:35:39 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-09 08:35:39 +0000
commit72b5445bd8dae616be2d969c596f57ff003832e2 (patch)
tree2ac8181edf623b37f2aa94949df19cf5b4fd5c55 /pod/perldiag.pod
parent823edd999e1a252d36bcee7f4b8cc4bb197530e3 (diff)
downloadperl-72b5445bd8dae616be2d969c596f57ff003832e2.tar.gz
merge changes from maintbranch (1354, and relevant part of 1356); all
maintenance changes upto 1356 merged p4raw-id: //depot/perl@1397
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod12
1 files changed, 11 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index f2415cc444..a0505e4bba 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -477,7 +477,17 @@ an object reference until it has been blessed. See L<perlobj>.
(F) You used the syntax of a method call, but the slot filled by the
object reference or package name contains an expression that returns
-neither an object reference nor a package name. (Perhaps it's null?)
+a defined value which is neither an object reference nor a package name.
+Something like this will reproduce the error:
+
+ $BADREF = 42;
+ process $BADREF 1,2,3;
+ $BADREF->process(1,2,3);
+
+=item Can't call method "%s" on an undefined value
+
+(F) You used the syntax of a method call, but the slot filled by the
+object reference or package name contains an undefined value.
Something like this will reproduce the error:
$BADREF = undef;