Cory Watson wrote:
I'm unsure if this is the intended behaviour, but when you delete a
template TT will continue to use the compiled one.  I expect this is
to facilitate the deployment of compiled templates.

I dynamically adjust the INCLUDE_PATH to override templates. If I
delete an overriding template, the default doesn't get picked up. This is because when T::Provider stat()s the template I deleted it
gets back an undef which is <= the mtime of the compiled template.

Is this the intended behavior or should that if() in T::Provider check
for an undef on the stat?

Andy,

Any word on this issue from Cory?

-- Josh

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

Reply via email to