summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2017-10-18 01:01:11 +0100
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2018-09-26 13:00:19 +0100
commitc22e17d0af032be4fb2cd747c9bb7a7622e3ba64 (patch)
tree9781a06bc165ea4ee0c1148a07e0d551ada81a4d /op.c
parentb48c08b9845692aded457ece78aa7d05316e9be3 (diff)
downloadperl-c22e17d0af032be4fb2cd747c9bb7a7622e3ba64.tar.gz
Remove support for setting $[ to a non-zero value
This removes arybase and all its surrounding machinery.
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index d0dcffbecb..03f066dfc6 100644
--- a/op.c
+++ b/op.c
@@ -14707,7 +14707,7 @@ S_maybe_multideref(pTHX_ OP *start, OP *orig_o, UV orig_action, U8 hints)
/* at this point we're looking for an OP_AELEM, OP_HELEM,
* OP_EXISTS or OP_DELETE */
- /* if something like arybase (a.k.a $[ ) is in scope,
+ /* if a custom array/hash access checker is in scope,
* abandon optimisation attempt */
if ( (o->op_type == OP_AELEM || o->op_type == OP_HELEM)
&& PL_check[o->op_type] != Perl_ck_null)