On Sep 19, 2006, at 1:37 AM, Moritz Sisenop wrote:

When I try

$c->path_to(qw/root customers signup.tt2/)

there is no Catalyst error message anymore.
Just a TT one: "Not a GLOB reference at /usr/local/lib/perl/5.8.7/Template/Provider.pm line 647."

Template Toolkit doesn't know what to do with the Path::Class::File object that path_to is going to return,
use $c->path_to(qw/root customer signup.tt2/)->stringify instead.

-- 
Jason Kohles
"A witty saying proves nothing."  -- Voltaire


_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to