summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-07-09 01:50:56 -0500
committerJesse Luehrs <doy@tozt.net>2011-07-09 01:50:56 -0500
commit6624bc8b7b053d3fda504531087426b107882593 (patch)
treefa387969f0eb97122e5bc9b168d8f0d5798ff926
parent9ac064cd621e6f950efc7a9f77999df0322e4393 (diff)
downloadsmartmatch-engine-core-6624bc8b7b053d3fda504531087426b107882593.tar.gz
smartmatch-engine-core-6624bc8b7b053d3fda504531087426b107882593.zip
undef ~~ Regex shouldn't warn
-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;
}
}