Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 91172
Status: resolved
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: moritz [...] faui2k3.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.24
Fixed in: (no value)



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;
Ticket migrated to github as https://github.com/abw/Template2/issues/122