summaryrefslogtreecommitdiff
path: root/pp_hot.c
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 /pp_hot.c
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 'pp_hot.c')
-rw-r--r--pp_hot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index fa6c5a58d1..dc8935beb9 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2447,7 +2447,9 @@ PP(pp_method)
!(ob=(SV*)GvIO(iogv)))
{
if (!packname || !isIDFIRST(*packname))
- DIE("Can't call method \"%s\" without a package or object reference", name);
+ DIE("Can't call method \"%s\" %s", name,
+ SvOK(sv)? "without a package or object reference"
+ : "on an undefined value");
stash = gv_stashpvn(packname, packlen, TRUE);
goto fetch;
}