Re: [htmltmpl] problems with scalarref
Brought to you by:
samtregar
From: Jeff C. <oka...@po...> - 2004-04-14 08:09:12
|
On Tue, 13 Apr 2004 14:01:35 -0400 (EDT) , Sam Tregar <sa...@tr...> wrote: >On Tue, 13 Apr 2004, Jeff Capes wrote: > >> HTML::Template->new() : Syntax error in <TMPL_*> tag at >> /fake/path/for/non/file/template : 1. at >> /usr/lib/perl5/site_perl/5.8.0/HTML/Template.pm line 2243. > >Any chance you're running Perl 5.8.0 on Redhat 8 or Redhat 9? If so, >you might have a broken Perl install. Red Hat 9. > >> my $tmpl; >> >> $tmpl = &get_template($tmpl); > >What do you see in your error log if you insert this here: > > print STDERR "-----TEMPLATE START----\n\n$tmpl\n\n---TEMPLATE END----\n"; > >I'm interested to see if $tmpl contains what you think it does. It did. I've tested a workaround for the problem by setting LANG=en_GB. The workaround worked, so I edited /etc/sysconfig/i18n to make it permanent. This also fixed Date::Manip. Thanks to everyone who helped! ___________________________________________________ Reduce your company's IT costs today with Officemaster. Sign up for a free trial! http://www.officemaster.net |