Subject: | WWW::Automate::headers only used once |
make test squawks that
t/embedded-WWW-Automate....Name "WWW::Automate::headers" used only once: possible typo at lib/WWW/Automate.pm line 309.
$headers is declared as a lexical, not a package variable.
By the same token, the $VERSION should be declared as a package variable. As it stands, no other packages can access $VERSION.
--- Automate.pm-orig Mon Feb 18 10:29:10 2002
+++ Automate.pm Sun Jul 7 21:19:52 2002
@@ -19,9 +19,9 @@
our @ISA = qw( LWP::UserAgent );
-my $VERSION = $VERSION = "0.20";
+our $VERSION = "0.20";
-my $headers;
+our $headers;
=pod