[Catalyst] How to avoid repeating methods in controllers ?
mobile.ccloo at gmail.com
Wed Jul 17 02:05:30 GMT 2013
Hi all, i'm a network engineer by trade and is picking up perl/catalyst to
upgrade my skills :)
I have a couple of controllers each having same methods, chaining off their
respective 'base' methods.
I build my controllers off this guide here:
So, i have
controller_a with a method 'list' , chaining off 'base'
controller_b with a method 'list', chaining off' 'base'
Is there a more graceful manner of inheriting this method instead of
copy/paste on every controller i have ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst