The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more
12345678910111213141516 #! perluse Test::More;use Test::LeakTrace;use Iterator::Flex::Common qw[ igrep iarray ];no_leaks_ok { my $iter = igrep { $_ > 0 } iarray( [ -20 .. 20 ] ); 1 while <$iter>;};done_testing;
#! perl
use
Test::More;
Test::LeakTrace;
Iterator::Flex::Common
qw[ igrep iarray ]
;
no_leaks_ok {
my
$iter
= igrep {
$_
> 0 } iarray( [ -20 .. 20 ] );
1
while
<
>;
};
done_testing;