Re: [Templates] Request for help

[prev] [thread] [next] [Date index for 2004/07/28]

From: Darren Chamberlain
Subject: Re: [Templates] Request for help
Date: 11:18 on 28 Jul 2004
--iRjOs3ViPWHdlw/I
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* CUMMING, Joe, FM <Joe.CUMMING at rbos.com> [2004/07/28 12:13]:
> My problem is that I have no installation rights on the remote host, I
> only have a cgi-bin.

Then where were you going to put TT?

> I run windows on my box at home and the Toolkit was installed using a
> ppm from Activestate. I don't get an option for XS Stash.
>=20
> Can I turn this option on or off after installation in the packages?

In your script, before you create any Template objects, you can do:

  use Template::Config;
  $Template::Config::STASH =3D 'Template::Stash';

and it will load the regular, non-XS stash instead of
Template::Stash::XS.  If you grep for $STASH in Template::Config, you
should see something like:

  $ grep ^\$STASH `perldoc -l Template::Config`
  $STASH     =3D 'Template::Stash::XS';

This is where the default is defined.

(darren)

--=20
An error on your own is safer than ten truths accepted on faith,
because the first leaves you the means to correct it, but the second
destroys your capacity to distinguish truth from error.
    -- Ayn Rand

--iRjOs3ViPWHdlw/I
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBB4uPzsinjrVhZaoRApB1AJ91nmOIAt6jl7lnzADwYA5NYDjqwQCfT97n
7l2IJenLuSCMhoIb9J7niQ0=
=a8rr
-----END PGP SIGNATURE-----

--iRjOs3ViPWHdlw/I--

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

[Templates] Request for help
CUMMING, Joe, FM 08:02 on 28 Jul 2004

Re: [Templates] Request for help
Darren Chamberlain 11:09 on 28 Jul 2004

RE: [Templates] Request for help
CUMMING, Joe, FM 11:13 on 28 Jul 2004

Re: [Templates] Request for help
Darren Chamberlain 11:18 on 28 Jul 2004

RE: [Templates] Request for help
CUMMING, Joe, FM 11:33 on 28 Jul 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52