[Catalyst] running catalyst through mod_perl
John Goulah
jgoulah at gmail.com
Tue May 15 18:22:25 GMT 2007
Sorry for the ignorance, but the docs are somewhat lacking good examples.
It doesn't seem I can use the $c object in the main app file
(lib/Appname.pm). I've tried stuff like __path_to_(myconfig.yml)__ and that
throws compile errors. So how would I change this statement to do what I
need:
__PACKAGE__->config(
name =3D> 'Registration',
validator =3D> {
messages =3D> "messages.yml",
},
);
Thanks,
John
On 5/15/07, Matt S Trout <dbix-class at trout.me.uk> wrote:
>
> On Tue, May 15, 2007 at 11:03:59AM -0400, John Goulah wrote:
> > Thats odd, since I have 256MB of memory (not a ton, but should be
> enough).
> > On other box with a slightly older version of apache (2.0.55) it works
> fine,
> > except my second question was never answered-- I still need a full path
> in
> > the validator config settings. Maybe I can define some path in my
> default
> > yaml file and use that? Or better yet, is there a way to dynamically
> get
> > the path?
>
> ConfigLoader handles this.
>
> Search the docs for path_to :)
>
> --
> Matt S Trout Need help with your Catalyst or DBIx::Class
> project?
> Technical Director Want a managed development or deployment
> platform?
> Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a
> quote
> http://chainsawblues.vox.com/
> http://www.shadowcatsystems.co.uk/
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070515/f30e4=
5fd/attachment.htm
More information about the Catalyst
mailing list