At 14:42 29-10-01 -0800, you wrote:
>Hello,
>
>Here's my given:
>
>I don't have shell access to my hosted site.
>I have my own cgi-bin.
>I can create directories under my home dir.
>I have ftp.
>I can't change apache or any conf files.
>I can't install modules in perl
>(i.e., I can't run perl Makefile.pl, or make/make install)
>
>I want to untar the files from off-site, and then
>ftp the files I need into appropriate directories
>on site.  I can add 'use lib' statements to my
>CGI scripts to include the modules.
>
>Which files would create a minimal working (CGI)
>TT2 system?  I can reconstruct a tree of .pm files.

Hello Doug

Same problem here ... and an answer:
If you've untar-ed the files, just look for the directory 'lib'.
In that directory you'll find 'Template.pm' and a directory 'Template'.
That were the files I needed to get a very simple cgi-script working with tt2.

To illustrate it:
I have a 'cgi-bin' directory. In that I've made a directory called 'lib'.
In 'lib' a copied Template.pm and the dir 'Template' and all of its contents
so i get:
/.../mysite/cgi-bin/lib/Template.pm
/.../mysite/cgi-bin/lib/Template/Library/..
/.../mysite/cgi-bin/lib/Template/Manual/..
etc.

and I use
use lib '/.../mysite/cgi-bin/lib';
before
use Template;
in my script.


>What else do I need?


Maybe we need more when we want have tt2 to do more advanced things.
Maybe the AppConfig-package to use ttree??

Hope this will help you. Or maybe we will get some advise of the more 
experienced users on this list.


Thomas



>Thanks in advance.
>
>--
>doug edmunds
>
>
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Make a great connection at Yahoo! Personals.
>http://personals.yahoo.com
>
>_______________________________________________
>templates mailing list
>[EMAIL PROTECTED]
>http://www.template-toolkit.org/mailman/listinfo/templates


SJT/multimedia
Postbus 886
7400 AW Deventer
tel: 0570 - 64 39 63
fax: 0570 - 61 13 48
email: [EMAIL PROTECTED]
website: http://www.sjt.nl/




Reply via email to