I've begun to debug the first pages I written using tt.

I have this simple beginning of a page:

[% USE CGI %]
[% SET myhost = CGI.server_name %]
[% SET myfoo = CGI.param('foo') %]

When I set DEBUG_UNDEF, I get an error "param is undefined" but no error
from the call of server_name just before it.

I'm using a ResponseHandler in mod_perl2 if that has any bearing.

What might I be doing wrong?


Thanks,
Mike




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

Reply via email to