* Cahill, Earl <earl at aboutws.com> [2003/12/19 17:45]:
> Hi,

Hello.

> I really did try to find an answer, but let's say I have something
> like this
> 
> my $form = {
>   first_name_error          => "[% first_name_required_error %]",
>   first_name_required_error => "Your first name is required",
> };
> 
> then in my template I have
> 
> [% first_name_error %]

Use the eval filter:

  [% first_name_error | eval %]

(darren)

-- 
I invented the term "Object-Oriented", and I can tell you, I didn't
have C++ in mind.
    -- Alan Kay

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to