What's going on here?
$ cat foo.tt2
[% foo = [0,0] %]
foo.0 = [% foo.0 %]
foo.1 = [% foo.1 %]
[% foo.0 / foo.1 %]
$ tpage foo.tt2
undef error - Illegal division by zero at ./foo.tt2 line 4.
OK, that error makes sense...
$ GET http://localhost/foo/
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>500 Internal Server Error</TITLE>
...
# tail /var/log/apache/error.log
[Fri May 13 10:48:58 2005] [error] access to .../foo.tt2 failed for
127.0.0.1, reason: file error - error: not found
... but that one doesn't.
paul
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates