Thanks, Robert!  Printing the Content-type did the trick in CGI mode. I
though it was probably something simple.  

I don't know which is the proper way to do it, but I have always just
left the #!/usr/bin/perl line as is since I switch back and forth
between UNIX and Windows.  Windows doesn't seem to care.  My guess is it
identifies it because I always use the .pl extension. 

The fix did not, however, work for ASP mode.  I should mention that ASP
mode works just fine normally.  I can use it with no problems until I
try and use TT with it.  Everytime I use TT and try and do anything with
it (in ASP, remember) I get nothing but a blank page.  

Thanks for the help.


> (CGI Mode)
> #====    test.pl =====#
> #!/usr/bin/perl

On Windows (with ActivePerl) this is just #!perl



# You need to send the HTTP header
#
print "Content-Type: text/html\n\n"


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to