diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-07-09 01:50:56 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-07-09 01:50:56 -0500 |
commit | 6624bc8b7b053d3fda504531087426b107882593 (patch) | |
tree | fa387969f0eb97122e5bc9b168d8f0d5798ff926 /lib | |
parent | 9ac064cd621e6f950efc7a9f77999df0322e4393 (diff) | |
download | smartmatch-engine-core-6624bc8b7b053d3fda504531087426b107882593.tar.gz smartmatch-engine-core-6624bc8b7b053d3fda504531087426b107882593.zip |
undef ~~ Regex shouldn't warn
Diffstat (limited to 'lib')
-rw-r--r-- | lib/smartmatch/engine/core.pm | 1 |
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; } } |