Skip to content

Commit

Permalink
Remove unused modules from test.
Browse files Browse the repository at this point in the history
Diff provided by @skaji.
  • Loading branch information
oalders committed Jun 8, 2020
1 parent 7699ca4 commit 4d18e42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions t/local/log-server
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use strict;
use HTTP::Daemon ();
use CGI 4.08;
use Getopt::Long;
use Socket ();

$|++;

Expand All @@ -13,8 +12,7 @@ GetOptions(

my $d = HTTP::Daemon->new or die;

my $url = URI->new($d->url);
print "$url\n";
print $d->url, "\n";

my ($filename,$logfile) = @ARGV[0,1];
if ($filename) {
Expand Down
5 changes: 1 addition & 4 deletions t/local/referer-server
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# Thanks to merlyn for nudging me and giving me this snippet!

use HTTP::Daemon ();
use URI::URL;
use Socket ();

$|++;

my $d = HTTP::Daemon->new or die;
my $lhurl = URI::URL->new( $d->url );
print $lhurl->as_string, "\n";
print $d->url, "\n";

$counter = 5;
while ($counter-- and my $c = $d->accept) {
Expand Down

0 comments on commit 4d18e42

Please sign in to comment.