-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* Steve Lewis <slewis at proofpoint.com> [2003-05-20 14:39]:
> I am using TT (2.08) to format text with the Interpolate option and am
> having a problem. In particular, the parser throws an exception when it
> attempts to process the variable $name with a period following it. If I
> remove the period it works fine. Is this a known problem?
It's not a problem, actually, just a quirky side-effect of using
INTERPOLATE. TT uses . to separate components:
[% foo.bar %]
If you want to use interpolation, you need to specifically scope the
variable dereferencing:
${name}.
It's documented; take a look at the Template::Manual::Config manpage
(search for "The INTERPOLATE flag").
(darren)
- --
Optimization hinders evolution.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: This message is digitally signed and can be verified for authenticity.
iD8DBQE+yn+QzsinjrVhZaoRAg+dAJ4uhGlo/FTWZtiM7ID5m7se1FIfRgCdFtBj
z9f7AYa7MqxDjUjad2yXJpA=
=s/ZX
-----END PGP SIGNATURE-----
|