The 'print_to' parameter takes an open filehandle. You have to open the file first on your own for writing and then pass the file handle in. For instance, if you opened 'test.tmpl' under the filehandle 'FH', then you pass '$template->output( print_to => *FH );'

At 10:56 AM 2/16/04 -0800, Kevin Fletcher wrote:
Hey,



I am trying to put to create a static page using
html::template. I tried using print
$template->output(print_to => 'test.tmpl');  and it
doesn't change the test.tmpl file and I am totally
stuck please help.



Thanks



Kevin



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users



------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to