[Catalyst] C::P::Email and testing

Jonathan Rockway jon at jrock.us
Mon Dec 18 21:11:53 GMT 2006



Daniel McBrearty wrote:
> ... but I'm thinking, how can one plugin inherit from another? $self
> isn't passed ... 

Your plugin ISA Catalyst, so instead of $self, you get a $c.
Subclassing should work.  $c->next::method(@_) or whatever;

-- 
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;



More information about the Catalyst mailing list