Doesn't it depend on which __PACKAGE__ you're in?
On Mon, Feb 28, 2011 at 7:33 AM, Charlie Garrison <[email protected]>wrote: > Good morning, > > On 28/02/11 at 7:10 AM -0600, John M. Dlugosz <[email protected]> > 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 ♊ <[email protected]> > > O< ascii ribbon campaign - stop html mail - www.asciiribbon.org > 〠 http://www.ietf.org/rfc/rfc1855.txt > > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ > -- The first step towards getting somewhere is to decide that you are not going to stay where you are. -- J.P.Morgan
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
