Re: [htmltmpl] calling a different template
Brought to you by:
samtregar
From: Roger B. W. <ro...@fi...> - 2003-03-24 22:18:10
|
On Mon, Mar 24, 2003 at 02:02:23PM -0800, Douglas Kirkland wrote: >In my code I call the following and output to a file and no problems here. >later in the same script I am trying to say I my done on the web page. >I get the following error: >Can't locate object method "new" via package "list_update" at >/usr/<snip>/list_update.pl line 6. >I believe the problem is from calling the second 'new', but I am not sure how >to call a second template. Well, I've written plenty of programs which use multiple templates, and I've never seen this particular problem. I don't do anything special to make them work. I suggest you cut down the script, line by line, until you find a version which _does_ work - or which only contains the two HTML::Template->new calls (I don't think this will happen). Roger |