diff options
author | Yorhel <git@yorhel.nl> | 2014-10-21 09:48:29 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2014-10-21 09:48:56 +0200 |
commit | 57022acc845a1502e4e42a322d48567b9afe7f02 (patch) | |
tree | 6277eb7e73875f92044cfc49c2f6b18f94a9771a /lib/VNDB/Handler/VNPage.pm | |
parent | a2717f7ac2404e63392223c436774c77423902e0 (diff) |
Disable warning about switch statement
I really want to rewrite that code to not use the very unperlish switch
statement, but the code is rather... complex and hairy. :(
Diffstat (limited to 'lib/VNDB/Handler/VNPage.pm')
-rw-r--r-- | lib/VNDB/Handler/VNPage.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/VNPage.pm b/lib/VNDB/Handler/VNPage.pm index f356731c..7d170ce8 100644 --- a/lib/VNDB/Handler/VNPage.pm +++ b/lib/VNDB/Handler/VNPage.pm @@ -1,9 +1,10 @@ package VNDB::Handler::VNPage; -use feature qw{ switch }; use strict; use warnings; +no warnings 'experimental::smartmatch'; +use feature qw{ switch }; use TUWF ':html', 'xml_escape'; use VNDB::Func; |