Quoting "l.f.elia" <[EMAIL PROTECTED]>: > Hello All, > I've been checking out HTML::Template, ($HTML::Template::VERSION = > '2.6';), and I cannot get it to work with the examples in the > documentation. > > I am using activestate perl ActivePerl Build 633 on win32, nothing > fancy just the examples, but they wont work. Is this a windows problem? > > I get this error: > > HTML::Template : Attempt to set nonexistent parameter 'path' - this > parameter name doesn't match any declarations in the template file : > (die_on_bad_params => 1) at templ.pl line 6
Without showing us the code and the template you are using it is difficult to figure out where the error actually is. But I can explain what that error message is telling you. You have asked HTML::Template to fill in a value in the template called 'path'. But there is no coresponding value in the template called 'path', hence it is complaining. You need to add a <TMPL_VAR NAME="path"> in your template file somewhere. Or you need to remove the path parameter from your code (you must have a call to $template->param(path => 'some value') in your code somewhere that is adding the 'path' parameter to the template). I hope that gets you on track. If not, return here and post the code you have and we will go from there. Cheers, Cees > > please help... > -- > There are at least two kinds of games. One could be called finite, the > other infinite. A finite game is played for the purpose of winning, an > infinite game for the purpose of continuing the play. -- James Carse > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Html-template-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/html-template-users > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users