Code above continues to give me an error message: Use of uninitialized value in subroutine entry at table.pl line 12 How do I go about just getting some code that'll extract information from a html table within a table.#!/usr/bin/perl -w use lib qw( ..); use HTML::TableExtract; use LWP::Simple; use Data::Dumper; my $te = new HTML::TableExtract( depth=>3, count=>0, gridmap=>0); my $content = get("http://www.computerjobs.com"); $te->parse($content); foreach $ts ($te->table_states) { foreach $row ($ts->rows) { print Dumper $row; # print Dumper $row if (scalar(@$row) == 2); } }
In reply to Help with HTML::TableExtract by dcb0127
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |