projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
POD typo.
[p5sagit/p5-mst-13.2.git]
/
pp_hot.c
diff --git
a/pp_hot.c
b/pp_hot.c
index
dcacf63
..
85b42aa
100644
(file)
--- a/
pp_hot.c
+++ b/
pp_hot.c
@@
-2672,8
+2672,8
@@
PP(pp_entersub)
sv_setiv(PL_DBassertion, 1);
cv = get_db_sub(&sv, cv);
- if (!cv)
- DIE(aTHX_ "No DBsub routine");
+ if (!cv || (!CvXSUB(cv) && !CvSTART(cv)))
+ DIE(aTHX_ "No DB::sub routine defined");
}
if (!(CvXSUB(cv))) {