Thanks all for your replies. On 4/6/07, Darren Chamberlain <[EMAIL PROTECTED]> wrote:
On 4/6/07, Lakshminarayanan Seshadri <[EMAIL PROTECTED]> wrote: > I am working with a software which comes with its own perl build for > all platforms and they dont have Template Toolkit by default in their perl. > What are the ways to get Template toolkit bundled with their perl.? > Please guide me to links/pointers on this. > > The software owner also has these questions: > 1. whether TT(Template toolkit) is pure-perl ? Yes, it's pure perl, but with the option to install some C-based optimizations. When you install it, you are asked if you want to build the C version of the stash, but if you answer no, TT will still work fine. It's just slower in certain situations, and, in my experience, not enough to notice in most situations. When you run Makefile.PL, you will be asked: Do you want to build the XS Stash module? [y] Answer n and it won't build the C modules. Alternately, you can invoke Makefile.PL with the TT_XS_ENABLE=n flag, and it will default to no. > 2. Does TT install require a compile.i.e C compiler on the platform is > a must for TT? No, see above. > 3. Is TT available on all platforms? atleast on linux,solaris,windows? Yes; because it's pure Perl, it runs on any platform that Perl runs on. When you install it for your special version of Perl, make sure you use that binary to generate the Makefile. I.e., if your vendor-provided perl is at /opt/foo/bin/perl, then make sure you build TT with: $ /opt/foo/bin/perl Makefile.PL and it will all go into the right include path when you run `make install`. That should be all you need to do. -- (darren) _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
