Jason Brinton
unread,Apr 20, 2012, 2:28:57 PM4/20/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mojol...@googlegroups.com
I'm a bit new to Perl, and newer to Mojo, and I'm confused as to how I can take values in my config file and use them in my application.
If I have { foo => 'bar' } in my config file, I feel like I should be able to just call $config->{'foo'} anywhere in my application to test for bar, but I'm not sure what $config should be, and I'm not sure if I need to use any extra classes to get configuration files working or not. It seems like config should be available by default, but the documentation isn't terribly helpful for me.
I hope this makes sense to someone out there.