Skip Menu |

This queue is for tickets about the WWW-Automate CPAN distribution.

Report information
The Basics
Id: 1246
Status: new
Priority: 0/
Queue: WWW-Automate

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.20
Fixed in: (no value)



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
This is fixed in WWW::Mechanize 0.30, a forked version of WWW::Automate.