I am coding a perl script which extracts all tables from a html webpage and then i iterate over the content.
In my code
foreach my $ts ($te->tables) {
print "Table (", join(',', $ts->coords), "):\n";
foreach my $row ($ts->rows) {
print join(',', @$row), "\n";
}}
I get the
Use of uninitialized value in join or string at
Error when there is no value in the cell of the table, for example
I dont want to surpress warnings, I think there is a more elegant way to solve this.
Thanks in Advance