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 => 'Registration',
validator => {
messages => "messages.yml",
},
);
Thanks,
John
On 5/15/07, Matt S Trout <[EMAIL PROTECTED]> 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: [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/
_______________________________________________
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/