summaryrefslogtreecommitdiffstats
path: root/lib/smartmatch/engine/core.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/smartmatch/engine/core.pm')
-rw-r--r--lib/smartmatch/engine/core.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/smartmatch/engine/core.pm b/lib/smartmatch/engine/core.pm
index 40a3d06..7bf5c02 100644
--- a/lib/smartmatch/engine/core.pm
+++ b/lib/smartmatch/engine/core.pm
@@ -189,6 +189,7 @@ sub match {
return grep /$b/, @$a;
}
else {
+ no warnings 'uninitialized';
return $a =~ $b;
}
}