summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorRuslan Zakirov <ruz@bestpractical.com>2013-02-27 19:39:39 +0400
committerFather Chrysostomos <sprout@cpan.org>2013-09-13 01:25:34 -0700
commit5cae3edb76796fced1e703fcf4357364c5ddd9b7 (patch)
treefaa8797522872430c4bca7c56c0177c6d69cce87 /regen
parent408dc2ec1c7e0bb6d22bd96e6ffe02473c573470 (diff)
downloadperl-5cae3edb76796fced1e703fcf4357364c5ddd9b7.tar.gz
key/value hash slice operation
kvhslice operator that implements %h{1,2,3,4} syntax which returns list of key value pairs rather than just values (regular slices).
Diffstat (limited to 'regen')
-rw-r--r--regen/opcodes1
1 files changed, 1 insertions, 0 deletions
diff --git a/regen/opcodes b/regen/opcodes
index 9c86d69a32..61c0de5b21 100644
--- a/regen/opcodes
+++ b/regen/opcodes
@@ -232,6 +232,7 @@ exists exists ck_exists is% S
rv2hv hash dereference ck_rvconst dt1
helem hash element ck_null s2 H S
hslice hash slice ck_null m@ H L
+kvhslice key/value hash slice ck_null m@ H L
# Explosives and implosives.