Hello,
I am getting the following error when running a simple script :
"Can't locate auto/HTML/TableExtract/rows.al in @INC"
Here is the code snippet:
my $te; $te = HTML::TableExtract->new( headers => [qr/Month\s*/, qr/First\s*/, qr/High\s*/, qr/Low\s*/, qr/Sett\s*/, qr/Chg\s*/, qr/Vol\s*/, qr/GOWAVE\*\s*/] ); $te->parse_file($sourcefile); my ($row, $record); open (DATFILE, ">> meg.dat") or die "Unable to open meg.dat: $!"; print DATFILE "Table:\n"; foreach $row ($te->rows) { #code failed at this line $record = join(',', @$row); print DATFILE $record . "\n"; } close DATFILE;
I just installed this module and have verified that the TableExtract.pm is in a location specified by @INC, and that the rows() subroutine is defined in there. However, there is no rows.al at that location.
Can anyone tell me what this means? Did my installation not work correctly even though no failure was indicated?
PS: I'm a newbie so please be kind
In reply to resolving HTML::TableExtract error by jaydon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |