projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b33ce3
)
require $mod where $mod has touched numeric context
author
Gisle Aas
<gisle@aas.no>
Fri, 18 May 2001 14:24:51 +0000
(07:24 -0700)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 20 May 2001 10:58:18 +0000
(10:58 +0000)
Message-ID: <lr3da2cpuk.fsf@caliper.ActiveState.com>
p4raw-id: //depot/perl@10162
pp_ctl.c
patch
|
blob
|
history
diff --git
a/pp_ctl.c
b/pp_ctl.c
index
0f034ee
..
166d1da
100644
(file)
--- a/
pp_ctl.c
+++ b/
pp_ctl.c
@@
-3033,7
+3033,7
@@
PP(pp_require)
sv = POPs;
if (SvNIOKp(sv)) {
- if (SvPOK(sv) && SvNOK(sv)
) {
/* require v5.6.1 */
+ if (SvPOK(sv) && SvNOK(sv)
&& SvNV(sv)) {
/* require v5.6.1 */
UV rev = 0, ver = 0, sver = 0;
STRLEN len;
U8 *s = (U8*)SvPVX(sv);