diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2011-11-13 12:03:00 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2011-11-13 12:03:00 +0200 |
commit | b1946049bd5e38a3df3ae8b16c62d6ba91ee1637 (patch) | |
tree | 29222c85e5b218b8832efe4b2af439e111e60f87 | |
parent | e7a82bd789549c141af4552b968ec2365baee7bd (diff) | |
download | vdradmin-am-b1946049bd5e38a3df3ae8b16c62d6ba91ee1637.tar.gz vdradmin-am-b1946049bd5e38a3df3ae8b16c62d6ba91ee1637.tar.bz2 |
Don't require the Env module.
-rwxr-xr-x | install.sh | 1 | ||||
-rwxr-xr-x | vdradmind.pl | 3 |
2 files changed, 1 insertions, 3 deletions
@@ -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 }; |