☰
Debian Codegraph
@
1.33-2
/
/
t
/
flatten.t
☽
☼
t/flatten.t
code
plain
raw
symbols
SCIP
Artistic
or
GPL-1+
2009, 2010, 2011, Scott Walters <
[email protected]
>
debian/copyright
1
use
Test::More
qw(no_plan);
2
use
strict
;
3
use
warnings
;
4
5
use
autobox::Core
;
6
7
my
@array
= qw(foo bar baz);
8
9
my
@returned
=
@array
->
flatten
;
10
11
is_deeply \
@returned
, \
@array
;
12
13
my
$count
=
@array
->
flatten
;
14
15
is
$count
, 3;