Subject: | Use of uninitialized value in numeric gt |
I get lots of messages such as:
Use of uninitialized value in numeric gt (>) at
/usr/local/share/perl/5.14.2/WWW/CheckSite/Validator.pm line 258
(#1)
when using this simple test program:
#!/usr/bin/perl -wT
use strict;
use diagnostics;
use warnings;
use WWW::CheckSite::Validator;
die "Usage: $0 URL...\n" unless @ARGV;
foreach my $uri (@ARGV) {
my $wcv = WWW::CheckSite::Validator->new(uri => $uri);
while(my $info = $wcv->get_page()) {
print $info;
$wcv->process_page();
}
}