[Catalyst] In search of a clue ... how do I access
_PACKAGE_->config values , or more specifically,
values put into myapp.yml ?
jgoulah at gmail.com
Mon Nov 5 21:17:17 GMT 2007
On Nov 5, 2007 12:37 PM, Joe Landman <landman at scalableinformatics.com>
> Hi folks:
> This should be an easy one. I read and read and read. The manual is
> fine, but my reading skills may be in doubt.
> This is what I want to do. I want to set a simple variable named
> myvar in myapp.yml. Then I want to pick it up later on.
> So far so good, I have
> myvar: blahblahblah
> in myapp.yml at the top of my application tree (in the same directory as
> lib, script, root, ...)
> Now, in one of my controllers, I want to get access myvar. I thought I
> can get at it like this:
Looks right, did you load the ConfigLoader plugin (
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst