Re: [htmltmpl] FW: Error using html::template

2009-06-10 Thread Roger Burton West
On Wed, Jun 10, 2009 at 06:05:00PM +1000, Sanjeewa Fernando wrote: >I think I would try using the (scalarref => $ref_to_template_text) method. >I now have to experiment with figuring out how to use wget within a perl >script. While this may well work, I think that getting some proper hosting w

Re: [htmltmpl] FW: Error using html::template

2009-06-10 Thread Sanjeewa Fernando
000 From: mathew.robert...@netratings.com.au To: html-template-users@lists.sourceforge.net Subject: Re: [htmltmpl] FW: Error using html::template Other than that, I'd suggest you ask your sys-admin to fix their security policy What about using wget or curl to read the file, and then

Re: [htmltmpl] FW: Error using html::template

2009-06-09 Thread Mathew Robertson
Other than that, I'd suggest you ask your sys-admin to fix their security policy What about using wget or curl to read the file, and then use the feature of H::T's "new" method to load a template from a variable? (scalarref => $ref_to_template_text). I agree that disallowing opening

Re: [htmltmpl] FW: Error using html::template

2009-06-09 Thread Mark Fuller
On Mon, Jun 8, 2009 at 6:11 PM, Mathew Robertson wrote: > Other than that, I'd suggest you ask your sys-admin to fix their > security policy What about using wget or curl to read the file, and then use the feature of H::T's "new" method to load a template from a variable? (scalarref => $ref_t

Re: [htmltmpl] FW: Error using html::template

2009-06-08 Thread Mathew Robertson
> I have tried to use html::template for the first time and tried to run > the script shown in the synopsis of cpan documentation. > > #!/usr/bin/perl -w > use HTML::Template; > > # open the html template > my $template = HTML::Template->new(filename => 'test.tmpl'); > > # fill in some pa

[htmltmpl] FW: Error using html::template

2009-06-03 Thread Sanjeewa Fernando
Hi, I have tried to use html::template for the first time and tried to run the script shown in the synopsis of cpan documentation. #!/usr/bin/perl -w use HTML::Template; # open the html template my $template = HTML::Template->new(filename => 'test.tmpl'); # fill in some parameters