diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-01-05 20:41:08 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-01-05 20:41:08 -0800 |
commit | 480e0d3cb5dd65d869513ab5419347ef0d1c9763 (patch) | |
tree | eaf69ff298b79f67aaaf6c6db2c8bf924bdae6b8 /pp_sys.c | |
parent | 2d6af230240aae1d02f582eba1539698bbf90f4a (diff) | |
download | perl-480e0d3cb5dd65d869513ab5419347ef0d1c9763.tar.gz |
[perl #90064] warn once for dbmopen with undef 3rd arg
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1017,7 +1017,10 @@ PP(pp_dbmopen) if (SvIV(right)) mPUSHu(O_RDWR|O_CREAT); else + { mPUSHu(O_RDWR); + if (!SvOK(right)) right = &PL_sv_no; + } PUSHs(right); PUTBACK; call_sv(MUTABLE_SV(GvCV(gv)), G_SCALAR); |