Subject: | Relative paths with ./ don't work. |
mlenz@qsu7:~$ echo 'foo' > bar.tt
mlenz@qsu7:~$ perl -MTemplate -wE 'Template->new({INCLUDE_PATH => "."})->process("bar.tt")'
foo
mlenz@qsu7:~$ perl -MTemplate -wE 'Template->new({INCLUDE_PATH => "."})->process("./bar.tt")'
mlenz@qsu7:~$
The relative path with ./ doesn't work (and I don't get any error message), although the documentation clearly states:
The first parameter indicates the input template as one of: a filename relative to "INCLUDE_PATH", if defined;