[Catalyst] Details of config options
Charlie Garrison
garrison at zeta.org.au
Mon Feb 28 13:33:30 GMT 2011
Good morning,
On 28/02/11 at 7:10 AM -0600, John M. Dlugosz <wxju46gefd at snkmail.com> wrote:
> A module documented to put
><Plugin::SmartURI>
> disposition hostless
></Plugin::SmartURI>
>in the myapp.conf file. But, what is the equivalent __PACKAGE__->config( syntax for the MyApp.pm
>file? I can't find documentation on how the names are mapped, and I've even seen different syntax
>in different guides.
>
>What's the correct rule?
I think you're looking for this:
__PACKAGE__->config(
'Plugin::SmartURI' => { disposition => 'hostless' },
);
Charlie
--
Ꮚ Charlie Garrison ♊ <garrison at zeta.org.au>
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠 http://www.ietf.org/rfc/rfc1855.txt
More information about the Catalyst
mailing list