Ok, you're creating an array, @bcfHeaders, of one element: an arrayref. That arrayref has a bunch of stuff. Then you pass in the array to HTE's constructor where it expects a reference to an array. Two mistakes do make a right. Sometimes. That probably should be:
or you just change the @bcfHeaders to $bcfHeaders in your original code.my @bcfHeaders = (qr/Month\s*/, qr/First\s*/, qr/High\s*/, qr/Low\s*/, qr/Sett\s*/, qr/Chg\s*/, qr/Vol\s*/, qr/BWAVE\*\s*/, qr/Prev Vol\s*/, qr/Open\s*Int\s*/); my $te = HTML::TableExtract->new( headers => \@bcfHeaders, keep_headers => 1 );
All that said, I'm absolutely confident that this won't solve your real problem. Sorry.
In reply to Re^3: TableExtract Module won't get complete first row!
by Tanktalus
in thread TableExtract Module won't get complete first row!
by jaydon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |