$ops{$_} = 'list' for qw/padav/;
$ops{$_} = 'list' for qw/padhv rv2hv/;
$ops{$_} = 'list' for qw/padany flip match entereval readline/;
+$ops{stat} = 13;
$ops{caller} = sub { my @a = caller 0; scalar @a }->();
$ops{localtime} = do { my @a = localtime; scalar @a };
use strict;
use warnings;
-use Test::More tests => 51;
+use Test::More tests => 52;
use Sub::Nary;
[ sub { return <$x> }, 'list' ],
+ [ sub { return stat $0 }, 13 ],
[ sub { return caller 0 }, sub { my @a = caller 0; scalar @a }->() ],
[ sub { return localtime }, do { my @a = localtime; scalar @a } ],
);
use strict;
use warnings;
-use Test::More tests => 37;
+use Test::More tests => 38;
use Sub::Nary;
[ sub { <$x> }, 'list' ],
+ [ sub { stat $0 }, 13 ],
[ sub { caller 0 }, sub { my @a = caller 0; scalar @a }->() ],
[ sub { localtime }, do { my @a = localtime; scalar @a } ],
);