Debian Codegraph @

t/keys.t

raw symbols SCIP
1 use Test::More qw(no_plan);
2 use strict;
3 use warnings;
4
5 use autobox::Core;
6
7 my %hash = ( foo => 1, bar => 2, baz => 3 );
8
9 is_deeply [ sort %hash->keys ], [ qw( bar baz foo ) ];
10
11 my $arrayref = %hash->keys;
12
13 is ref $arrayref, 'ARRAY', "Returns arrayref in scalar context";