in reply to Re: Using Template toolkit
in thread Using Template toolkit

I thought that shouldn't matter, but I went ahead and reversed them. Now, it says
file error - \templates\userinfo.html: not found at C:\Inetpub\wwwroot\cgi-bin\userinfo.cgi line 33.
It doesn't matter if I use an absolute or relative path. I still get the message.I have double checked that the files and folders are there and spelled correctly. Does TT have restrictions on where it will look for files? I even tried specifying the drive letter and I get this weird message
file error - no providers for template prefix 'C' at C:\Inetpub\wwwroot\cgi-bin\userinfo.cgi line 33.
The TT at http://www.template-toolkit.org/docs/plain/Tutorial/Tutorial.html doesn't mention any of this stuff. Is there another tutorial somewhere on using this on Win systems? :(

By the way, thanks for helping.

Replies are listed 'Best First'.
Re: Re: Re: Using Template toolkit
by Masem (Monsignor) on May 11, 2001 at 20:34 UTC
    I'm not sure as I haven't used TT2 on a Win32 system, however, I do know that TT2 has a good mailing list with archives available near that URL you have above; take a look through there and see if anyone has already addressed using TT2 on Win32. IIRC, TT2 is simplying using the standard perl open and friends to do it's job, so you'd have to stick to how file operations work on Win32.
    Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain