Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 245 Bytes
use Test::More qw(no_plan);
use strict;
use warnings;
use autobox::Core;
my $string = "I like pie pie";
my $substr = "pie";
is $string->rindex($substr), rindex($string, $substr);
is $string->rindex($substr, 12), rindex($string, $substr, 12);
Something went wrong with that request. Please try again.