Stefan Kühn wrote: > Yes, it looks nice. > > But could you also add controller specific functionality, like so?
Yes, you can. In your example, you'll be able to hit "/adaptor/method_A" (and B) in addition to the actions defined in the superclass. As an aside, Perl has multiple inheritance, so your controller can even have multiple base classes. You are probably used to this in the form of: package MyApp::Controller::SomeForm; use base qw/Catalyst::Controller::BindLex Catalyst::Controller::FormBuilder/; Regards, Jonathan Rockway
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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/
