Help for this page
#!/usr/bin/perl use warnings; ... my $uri = ('URI'->new($string)->path_segments)[-1]; is $uri, $expect{$string}; }