Subject: | [PATCH] win32 fix for file.t |
Uses Cwd (core module).
--
Alexandr Ciornii, http://chorny.net
Subject: | file.t.patch |
--- file.t.dist Wed Feb 12 13:21:15 2003
+++ file.t Sun May 11 19:04:13 2008
@@ -11,11 +11,12 @@
require LWP::Parallel::UserAgent;
require HTTP::Request;
-my $ua = new LWP::Parallel::UserAgent;
+my $ua = LWP::Parallel::UserAgent->new();
$ua->agent("Mozilla/0.01 " . $ua->agent);
$ua->from('marclang@cpan.org');
-my $pwd = `pwd`;
+use Cwd;
+my $pwd = getcwd;
chomp $pwd;
#---------------------------------------------------------------