I am not sure how to describ my problem.

I am using H::T to write to some static web pages to some files and that part 
work great.  The problem comes when I call another tmpl file to load to the 
web to say I am done.   

In my code I call the following and output to a file and no problems here.


    my $template = HTML::Template->new(
                                      filename => 'file.tmpl',
                                      path     => '../tmpl'
                                   );


later in the same script I am trying to say I my done on the web page.

    my $template_web = HTML::Template->new(
                            filename =>    'web.tmpl',
                           path     =>       '../tmpl'
                           );

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.

Thanks,


-- 
Douglas Kirkland


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to