From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

my $array = Data::LnArray::XS->new(qw/one two one three four/);
my $first = $array->lastIndexOf('one');
is($first, 2);
done_testing;