Can't call method "rows" on an undefined value at C:/Perl/site/lib/HTML/TableExtract.pm line 224 (#1) (F) You used the syntax of a method call, but the slot filled by the object reference or package name contains an undefined value. Something like this will reproduce the error: $BADREF = undef; process $BADREF 1,2,3; $BADREF->process(1,2,3); Uncaught exception from user code: Can't call method "rows" on an undefined value at C:/Perl/site/lib/HTML/TableExtract.pm line 224. at C:/Perl/site/lib/HTML/TableExtract.pm line 224 HTML::TableExtract::rows('HTML::TableExtract=HASH(0x23c6ff0)') called at C:\parse_and_save.pl line 21 main::parse_and_save() called at C:\Documents and Settings\My Documents\perl\scripts\parse_and_save.pl line 28 main::parse_and_save() called at C:\Documents and Settings\My Documents\perl\scripts\parse_and_save.pl line 28 main::parse_and_save() called at C:\Documents and SettingsMy Documents\perl\scripts\parse_and_save.pl line 28 main::parse_and_save() called at C:\Documents and SettingsMy Documents\perl\scripts\parse_and_save.pl line 28 main::parse_and_save() called at C:\Documents and SettingsMy Documents\perl\scripts\parse_and_save.pl line 28 main::parse_and_save() called at C:\Documents and Settings\My Documents\perl\scripts\parse_and_save.pl line 28 main::parse_and_save() called at C:\Documents and SettingsMy Documents\perl\scripts\parse_and_save.pl line 32