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
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
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
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
> 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
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