The INCLUDE directive automat=ADically quotes the filename specified, as =
per INSERT described above.  When a variable contains the name of the =
template for the INCLUDE directive, it should be explicitly prefixed by =
'$' or double-quoted

    [% myheader =3D 'my/misc/header' %]
    [% INCLUDE   myheader  %]            # 'myheader'
    [% INCLUDE  $myheader  %]            # 'my/misc/header'
    [% INCLUDE "$myheader" %]            # 'my/misc/header'

--mark

> Newbie here, so please be kind while I get myself up to speed...8^0
>=20
> I'd like to use the INCLUDE directive and pass a variable to=20
> tell the html
> page what form to "INCLUDE" like:
>=20
> (and in my handler):
> my $params =3D {
>   files =3D> {thispage =3D> 'thisform.html' thatpage =3D> =
'thatform.html'}
> }


Reply via email to