Subject: | Prevent an Uninitialized Value Warning in t/internet.t |
When $ENV{LOGDIR} does not exist, the t/internet.t test throws a spurious uninitialized value warning. This patch fixes that. It should have no bearing on the success or failure of the test.
--- t/internet.t~ Fri Aug 2 11:13:43 2002
+++ t/internet.t Fri Aug 2 11:12:28 2002
@@ -2,6 +2,7 @@
require Mail::Internet;
use Config;
+$ENV{LOGNAME} ||= 'unknown';
print "1..3\n";
$|=1;