]> source.dussan.org Git - rspamd.git/commitdiff
Sort dependencies.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 16 Jun 2015 18:13:53 +0000 (19:13 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 16 Jun 2015 18:16:56 +0000 (19:16 +0100)
utils/redirector.pl.in

index b483c127f46cf1f72a4190111583d943a12dff10..2b8092edabc040b82337622538c0c04fdf20028d 100755 (executable)
@@ -16,23 +16,21 @@ use strict;
 
 use POSIX qw(strftime);
 use HTTP::Request::Common qw(GET POST);
+use HTTP::Response;
 use URI::Escape qw(uri_unescape);
 use Sys::Syslog qw/:standard :macros setlogsock/;
-use HTTP::Response;
 use HTML::HeadParser;
 use Digest;
 use Proc::Daemon;
 use Proc::PidUtil;
-
 use POE qw(@POE_LOOP@ Component::Server::TCP Filter::HTTPD Component::Client::HTTP);
+use Cache::Memcached::Fast;
 
 my $with_swf = 1;
 my $swf_parser;
 my $saved_swf_url = "";
 eval "require SWF::Element" or $with_swf = 0;    # p5-SWF-File
 
-require Cache::Memcached::Fast;
-
 my $DEBUG = grep { $_ eq '-debug' } @ARGV;
 
 our %cfg = (