Subject: | Array slice with range does not work in tinyrepl |
$ tinyrepl
re.pl$ my @a = qw(1 2 3);
1
2
3
re.pl$ @a[0,1]
1
2
# all good here
re.pl$ @a[0..1]
"Error!"
"String found where operator expected at (eval) line 6, near \"\$, '\$'\"\n"
# oops, array slice with range not working?
perl is v5.24.2