Porting/cherrymaint now requires LWP::UserAgent instead of using it.
authorNicholas Clark <nick@ccl4.org>
Wed, 21 Dec 2011 18:24:52 +0000 (19:24 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 22 Dec 2011 07:50:29 +0000 (08:50 +0100)
This way ./perl -Ilib -c Porting/cherrymaint can be used to syntax check it.

cherrymaint was not importing symbols from LWP::UserAgent, so there are no
changes in runtime behaviour.

Porting/cherrymaint

index ab27d35..c5b2804 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 use File::Basename;
 use Getopt::Long;
-use LWP::UserAgent;
+require LWP::UserAgent;
 
 my %votemap = (
   'unexamined' => 0,