Subject: | Array reference error |
Date: | Fri, 25 Apr 2014 07:06:56 -0400 (EDT) |
To: | bug-WebService-Validator-HTML-W3C-Fast [...] rt.cpan.org |
From: | chdl [...] aol.com |
Hello,
This may be caused by the Perl version 5.10.1
After installing both WebService::Validator::HTML::W3C and WebService::Validator::HTML::W3C::Fast
and trying your example code as well as my own I receive,
Can't use an undefined value as an ARRAY reference
When the script hits the error block
foreach my $error ( @{$v->errors} ) {
printf("%s at line %d\n", $error->msg,
$error->line);
}
This error is reported in both scripts.
Perl version Perl version v5.10.1
Operating system CentOS Linux 6.4
Linux 2.6.32-358.23.2.el6.x86_64 on x86_64
Thank you and keep up the good work
:-) Andrew