From b1946049bd5e38a3df3ae8b16c62d6ba91ee1637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 13 Nov 2011 12:03:00 +0200 Subject: Don't require the Env module. --- install.sh | 1 - vdradmind.pl | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 12d889e..f58573b 100755 --- a/install.sh +++ b/install.sh @@ -77,7 +77,6 @@ function perlModules() echo "" echo "*** Required ***" checkPerlModule locale - checkPerlModule Env checkPerlModule Template checkPerlModule Template::Plugin::JavaScript checkPerlModule CGI diff --git a/vdradmind.pl b/vdradmind.pl index 0564b53..696ccf2 100755 --- a/vdradmind.pl +++ b/vdradmind.pl @@ -61,7 +61,6 @@ if ($@) { require File::Temp; use locale; -use Env qw(@PATH LANGUAGE LANG); use CGI qw(:no_debug); use HTTP::Date qw(time2str); use IO::Socket; @@ -87,7 +86,7 @@ $can_use_smtpauth = undef unless (eval { require Authen::SASL }); # Some users have problems if the LANGUAGE env variable is set # so it's cleared here. -$LANGUAGE = ""; +$ENV{LANGUAGE} = ""; $SIG{CHLD} = sub { wait }; -- cgit v1.2.3