This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
document some more Gv* macros
[perl5.git]
/
doio.c
diff --git
a/doio.c
b/doio.c
index
69d091c
..
fed1a49
100644
(file)
--- a/
doio.c
+++ b/
doio.c
@@
-320,7
+320,10
@@
Perl_do_openn(pTHX_ GV *gv, register const char *oname, I32 len, int as_raw,
}
while (isSPACE(*type))
type++;
- if (num_svs && (SvIOK(*svp) || (SvPOK(*svp) && looks_like_number(*svp)))) {
+ if (num_svs && (
+ SvIOK(*svp)
+ || (SvPOKp(*svp) && looks_like_number(*svp))
+ )) {
fd = SvUV(*svp);
num_svs = 0;
}