[htmltmpl] .tmpl page not rendering on screen
Brought to you by:
samtregar
From: Brad C. <bra...@hi...> - 2004-11-09 20:25:55
|
Hello folks, I've been using HTML::Template a thousand times over the past year and never had a page just not output. http://www.cicsnorthtown.org/cgi-bin/facultyadmin.pl?funct=menu Check the source code and note it just renders "<html><body></body></html>" If I try: http://www.cicsnorthtown.org/admin/menu.tmpl the page looks fine. or, in my Perl if I substitute at different file, like "test.tmpl" it works great. Perl: use HTML::Template; my $template; $template = HTML::Template->new(filename => '../admin/menu.tmpl'); $template -> param(facultylist=> $teacherdata ); print "Content-type: text/html\n\n"; print $template->output(); H::T is not returning any errors. Could it be a corrupt .tmpl file? If so, how would I know? Thanks. |