I'm running into the warning in $subject.

I did a quick search through the templates.mbox file and couldn't find
anyone who's run into this nor do I see it in the changelogs
(I'm using Template-Toolkit 2.15)

My solution/patch (which seems to work) is to change line 286 of
Template/Provider.pm from:

       elsif (UNIVERSAL::can($dir, 'paths')){

to
       elsif ( (ref($dir)) && (UNIVERSAL::can($dir, 'paths')) ){

Since I can't find someone else complaining about this, it's entirely
possible (likely even) that I'm overlooking something.

Thank you for your time,
Daniel Fisher

Reply via email to