| 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(foo bar baz); |
| 8 | |
| 9 | my @returned = @array->elementsscip-perl cpan autobox-Core 1.33 main/elements().; |
| 10 | |
| 11 | is_deeply \@returned, \@array; |
| 12 | |
| 13 | my $count = @array->elementsscip-perl cpan autobox-Core 1.33 main/elements().; |
| 14 | |
| 15 | isscip-perl cpan autobox-Core 1.33 main/is(). $count, 3; |
| 16 |