diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-09 08:35:39 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-09 08:35:39 +0000 |
commit | 72b5445bd8dae616be2d969c596f57ff003832e2 (patch) | |
tree | 2ac8181edf623b37f2aa94949df19cf5b4fd5c55 /pp_hot.c | |
parent | 823edd999e1a252d36bcee7f4b8cc4bb197530e3 (diff) | |
download | perl-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; } |