[Catalyst] problem with FormBuilder + TT2

Jason Kohles email at jasonkohles.com
Tue Sep 19 13:56:37 CEST 2006

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
email at jasonkohles.com
"A witty saying proves nothing."  -- Voltaire

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060919/df06d7f3/attachment.htm 

More information about the Catalyst mailing list