On 7/15/03 at 4:08 AM, [EMAIL PROTECTED] (Girish Agarwal) wrote: > whenever I try to print out the parameters in my perl script using > @parameteres = $template->param(); > No parameters are returned.
@parameteres = $template->param(); ^^^^^Are you trying to set parameter values using this? That will not do what you think it does. After you create a template object, '@parameteres = $template->param();' will return a list of parameters (not values) in the template, and store them in @parameteres. To set the value of a parameter: $template->param(PARAM_NAME => $param_value); Then in your template: My value is <TMPL_VAR NAME="PARAM_NAME> See the docs: http://html-template.sourceforge.net/html_template.html ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
