[Catalyst] Template rendering error under mod_perl
Bill Moseley
moseley at hank.org
Fri Jun 29 18:42:42 GMT 2007
On Fri, Jun 29, 2007 at 04:33:46PM +0100, Richard Jones wrote:
> Form (search): Can't find form config search.fb in:
> /home/raj/www/apps/MyApp/root/forms, yet search.fb is most definitely
> present in /home/raj/www/apps/MyApp/root/forms. All root sub-dir files
> set to 0644 permissions, with user/group set to same as other web files.
> What gives?
Do you know about the secret -m option to perldoc? -m is what give
the real manual.
perldoc -m Template::Provider and page down until you something handy:
# _template_content($path)
#
# Fetches content pointed to by $path.
Then you can do:[1]
warn "Hey, TT is looking for [$path]\n";
which might give you a lead.
[1]
$ cat ~/bin/mvim
#!/bin/sh
sudo vim `perldoc -l "$1"`
--
Bill Moseley
moseley at hank.org
More information about the Catalyst
mailing list