[dw-free] Eliminate Class::Autouse from the code
[commit: http://hg.dwscoalition.org/dw-free/rev/62f234ee16d2]
http://bugs.dwscoalition.org/show_bug.cgi?id=1761
Code cleanup.
Patch by
szabgab.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1761
Code cleanup.
Patch by
Files modified:
- cgi-bin/ljmail.pl
--------------------------------------------------------------------------------
diff -r 0565b0560eba -r 62f234ee16d2 cgi-bin/ljmail.pl
--- a/cgi-bin/ljmail.pl Mon Sep 07 15:01:16 2009 +0000
+++ b/cgi-bin/ljmail.pl Mon Sep 07 15:09:04 2009 +0000
@@ -8,17 +8,14 @@ require "ljlib.pl";
package LJ;
-use Text::Wrap ();
-use Time::HiRes ('gettimeofday', 'tv_interval');
-
-use Encode qw/encode from_to/;
-use MIME::Base64 qw/encode_base64/;
-
-use Class::Autouse qw(
- IO::Socket::INET
- MIME::Lite
- Mail::Address
- );
+use Text::Wrap ();
+use Time::HiRes qw( gettimeofday tv_interval );
+use Encode qw( encode from_to );
+use MIME::Base64 qw( encode_base64 );
+use IO::Socket::INET;
+use MIME::Lite;
+use Mail::Address;
+use MIME::Words qw( encode_mimeword );
my $done_init = 0;
sub init {
@@ -33,7 +30,6 @@ sub init {
}
}
-use MIME::Words qw/encode_mimeword/;
# <LJFUNC>
# name: LJ::send_mail
--------------------------------------------------------------------------------
