]> Sergey Matveev's repositories - public-inbox.git/commitdiff
cgi: cleanup dependencies
authorEric Wong <e@80x24.org>
Tue, 8 Apr 2014 08:43:18 +0000 (08:43 +0000)
committerEric Wong <e@80x24.org>
Tue, 8 Apr 2014 08:43:18 +0000 (08:43 +0000)
We do not need to use CGI::Util internals here.

public-inbox-cgi

index 6cf70a9b513d104c2cc6cab5692bbc20c7ccc745..3ad45613a9068099190c5709f01da870ad7c07b8 100755 (executable)
@@ -13,8 +13,7 @@ use 5.008;
 use strict;
 use warnings;
 use CGI qw(:cgi :escapeHTML -nosticky); # PSGI/FastCGI/mod_perl compat
-use CGI::Util qw(unescape);
-use Encode;
+use Encode qw(decode_utf8);
 use PublicInbox::Config;
 our $LISTNAME_RE = qr!\A/([\w\.\-]+)!;
 our $pi_config;