summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2010-11-26 15:52:54 -0800
committerFather Chrysostomos <sprout@cpan.org>2010-11-26 15:57:42 -0800
commit8b47453d44c563ee3090c84630e0eea428f30e97 (patch)
tree79dc9940bd2c8df2f0e092a8822ef48435c20b6b /op.c
parent37fa633444b8c1fc34df1a1bc8c199a5d208ad86 (diff)
downloadperl-8b47453d44c563ee3090c84630e0eea428f30e97.tar.gz
[perl #78908] Reinstate mod for one more stable release
Diffstat (limited to 'op.c')
-rw-r--r--op.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/op.c b/op.c
index 2da3db43d0..53641c7a8d 100644
--- a/op.c
+++ b/op.c
@@ -1784,6 +1784,14 @@ Perl_op_lvalue(pTHX_ OP *o, I32 type)
return o;
}
+/* Do not use this. It will be removed after 5.14. */
+OP *
+Perl_mod(pTHX_ OP *o, I32 type)
+{
+ return op_lvalue(o,type);
+}
+
+
STATIC bool
S_scalar_mod_type(const OP *o, I32 type)
{