We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c4b7dc commit ca48322Copy full SHA for ca48322
2 files changed
Changes
@@ -1,6 +1,8 @@
1
Revision history for HTTP-Daemon
2
3
{{$NEXT}}
4
+ - Remove circular dependency with LWP::UserAgent introduced in 6.02 (GH#27)
5
+ (Olaf Alders)
6
7
6.02 2019-04-01 16:03:37Z
8
- Added a .mailmap to properly keep up with contributors to the dist.
t/local/http.t
@@ -1,3 +1,7 @@
+#!perl
+
+use Test::Needs 'LWP::UserAgent';
if ($^O eq "MacOS") {
print "1..0\n";
exit(0);
@@ -63,9 +67,8 @@ sub url {
63
67
64
68
print "Will access HTTP server at $base\n";
65
69
66
-require LWP::UserAgent;
70
require HTTP::Request;
-$ua = new LWP::UserAgent;
71
+$ua = LWP::UserAgent->new;
72
$ua->agent("Mozilla/0.01 " . $ua->agent);
73
$ua->from('gisle@aas.no');
74
0 commit comments