Excellent, thanks Darren, I'll try that out. Joe
p.s. Any libraries which I want but which aren't installed on the server I put in my cgi-bin/lib and reference "use ./lib" in my scripts. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darren Chamberlain Sent: 28 July 2004 12:19 To: [EMAIL PROTECTED] Subject: Re: [Templates] Request for help * 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. > > 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 = '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 = 'Template::Stash::XS'; This is where the default is defined. (darren) -- 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 *********************************************************************************** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Authorised and regulated by the Financial Services Authority This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Royal Bank of Scotland plc in this regard and the recipient should carry out such virus and other checks as it considers appropriate. Visit our websites at: http://www.rbs.co.uk/CBFM http://www.rbsmarkets.com ******************************************************************************** _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
