Re: [Templates] eval_perl => 1

[prev] [thread] [next] [Date index for 2005/06/02]

From: Dave Cash
Subject: Re: [Templates] eval_perl => 1
Date: 16:50 on 02 Jun 2005
On Thu, 2 Jun 2005, Dean Ericksen wrote:

> I'm trying to write some custom perl on some template pages, and keep
> getting the error message that the eval_perl option is not set. The main
> tt2 files all have eval_perl => 1 set ... so I'm struggling to
> understand what is happening. Are there additional modules that need to
> be loaded or manipulated?

Are you using caps for the option name?  It should be

	EVAL_PERL => 1

not

	eval_perl => 1

As far as I know there are no lower-case options in TT2.  I do
believe TT3 will use lower/mixed case options, though.

HTH,

Dave

/L\_/E\_/A\_/R\_/N\_/T\_/E\_/A\_/C\_/H\_/L\_/E\_/A\_/R\_/N\
Dave Cash                              Power to the People!
Frolicking in Fields of Garlic               Right On-Line!
dave@xxxxx.xxx                                  Dig it all.

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] eval_perl => 1
Dean Ericksen 15:11 on 02 Jun 2005

Re: [Templates] eval_perl => 1
Dave Cash 16:50 on 02 Jun 2005

Re: [Templates] eval_perl => 1
Pronichev Alexander 16:07 on 03 Jun 2005

Generated at 20:13 on 05 Jun 2005 by mariachi v0.52