Debian Codegraph @

t/for.t

raw symbols SCIP
1 use Test::Morescip-perl cpan autobox-Core 1.33 Test/More/ qw(no_plan);
2 use strictscip-perl cpan autobox-Core 1.33 strict/;
3 use warningsscip-perl cpan autobox-Core 1.33 warnings/;
4
5 use autobox::Corescip-perl cpan autobox-Core 1.33 autobox/Core/;
6
7 my @array = qw(1 2 3);
8
9 my @added;
10 @array->forscip-perl cpan autobox-Core 1.33 main/for().( sub { my ($i, $v, $arr) = @_scip-perl cpan autobox-Core 1.33 main/`@_`.; pushscip-perl cpan autobox-Core 1.33 main/push(). @added, $i + $v + @$arr } );
11
12 is_deeply [ @added ], [ qw(4 6 8) ];