$ops{$_} = 1 for qw/padsv/;
$ops{$_} = 'list' for qw/padav/;
$ops{$_} = 'list' for qw/padhv rv2hv/;
-$ops{$_} = 'list' for qw/padany flip match/;
+$ops{$_} = 'list' for qw/padany flip match entereval/;
sub enter {
my ($self, $cv) = @_;
use strict;
use warnings;
-use Test::More tests => 47;
+use Test::More tests => 48;
use Sub::Nary;
[ sub { return 1, eval { $x, eval { $h{foo} } } }, 3 ],
[ sub { return eval { return $x, eval { $y } } }, 2 ],
[ sub { return eval { do { eval { @a } } } }, 'list' ],
+
+ [ sub { eval 'return 1, 2' }, 'list' ],
);
my $i = 1;
use strict;
use warnings;
-use Test::More tests => 33;
+use Test::More tests => 34;
use Sub::Nary;
[ sub { eval { }; $x, 2 }, 2 ],
[ sub { 1, eval { $x, eval { $h{foo} } } }, 3 ],
[ sub { eval { 1, do { eval { @a }, 2 } } }, 'list' ],
+
+ [ sub { eval '1, 2' }, 'list' ],
);
my $i = 1;