| 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 | |
| 8 | my $times = sub { $_scip-perl cpan autobox-Core 1.33 main/`@_`.[0] * $_scip-perl cpan autobox-Core 1.33 main/`@_`.[1] }; |
| 9 | |
| 10 | my $times_two = $times->curryscip-perl cpan autobox-Core 1.33 main/curry().(2); |
| 11 | my $times_four = $times->curryscip-perl cpan autobox-Core 1.33 main/curry().(4); |
| 12 | |
| 13 | isscip-perl cpan autobox-Core 1.33 main/is(). $times_two->(5)scip-perl cpan autobox-Core 1.33 main/`->()`()., 10; |
| 14 | isscip-perl cpan autobox-Core 1.33 main/is(). $times_four->(5)scip-perl cpan autobox-Core 1.33 main/`->()`()., 20; |