Looks like the function/subroutine Td you call does not exist. Therefore the perl interpreter thinks it is a "bare word", that has no meaning to the interpreter.
Are you using some module to make the tables (like CGI.pm)?
edit
This was not the main problem, as
robartes mentiones. A comma is missing before the td()