diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-09-01 14:45:23 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-09-01 14:45:23 +0000 |
commit | 468aa647417bbcdb0729a787fa25968401364880 (patch) | |
tree | 51e1355e9f5ac34542990153cba5fb0d298eb89d /op.c | |
parent | e1b8f2440d42d1ef507b8ee444aca4c022615fdf (diff) | |
download | perl-468aa647417bbcdb0729a787fa25968401364880.tar.gz |
Add the "no 6" / "no v6" syntax.
p4raw-id: //depot/perl@25344
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3057,6 +3057,8 @@ Perl_utilize(pTHX_ int aver, I32 floor, OP *version, OP *idop, OP *arg) imop = arg; /* no import on explicit () */ else if (SvNIOKp(((SVOP*)idop)->op_sv)) { imop = Nullop; /* use 5.0; */ + if (!aver) + idop->op_private |= OPpCONST_NOVER; } else { SV *meth; |