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:
<br><font color="black" face="Verdana,Arial,Helvetica" size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2"></font></font><br>__PACKAGE__->config(<br> name => 'Registration',<br><br> validator => {
<br> messages => "messages.yml",<br> },<br>);<br><br><br>Thanks,<br>John<br><br><code></code><br><div><span class="gmail_quote">On 5/15/07, <b class="gmail_sendername">Matt S Trout</b> <<a href="mailto:dbix-class@trout.me.uk">
dbix-class@trout.me.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Tue, May 15, 2007 at 11:03:59AM -0400, John Goulah wrote:
<br>> Thats odd, since I have 256MB of memory (not a ton, but should be enough).<br>> On other box with a slightly older version of apache (2.0.55) it works fine,<br>> except my second question was never answered-- I still need a full path in
<br>> the validator config settings. Maybe I can define some path in my default<br>> yaml file and use that? Or better yet, is there a way to dynamically get<br>> the path?<br><br>ConfigLoader handles this.<br>
<br>Search the docs for path_to :)<br><br>--<br> Matt S Trout Need help with your Catalyst or DBIx::Class project?<br> Technical Director Want a managed development or deployment platform?<br> Shadowcat Systems Ltd. Contact mst (at)
<a href="http://shadowcatsystems.co.uk">shadowcatsystems.co.uk</a> for a quote<br><a href="http://chainsawblues.vox.com/">http://chainsawblues.vox.com/</a> <a href="http://www.shadowcatsystems.co.uk/">http://www.shadowcatsystems.co.uk/
</a><br><br>_______________________________________________<br>List: <a href="mailto:Catalyst@lists.rawmode.org">Catalyst@lists.rawmode.org</a><br>Listinfo: <a href="http://lists.rawmode.org/mailman/listinfo/catalyst">http://lists.rawmode.org/mailman/listinfo/catalyst
</a><br>Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.rawmode.org/">http://www.mail-archive.com/catalyst@lists.rawmode.org/</a><br>Dev site: <a href="http://dev.catalyst.perl.org/">http://dev.catalyst.perl.org/
</a><br></blockquote></div><br>