foreach my $param (qw{match pagespec}) {
if (! exists $params{$param}) {
- return "[[testpagespec missing $param parameter]]";
+ return "[[testpagespec $param parameter is required]]";
}
}
if ($ret) {
return "match: $ret";
}
- elsif (! defined $ret) {
- return "match failed: $@";
- }
else {
return "no match: $ret";
}