[Catalyst] Dispatcher.pm detach method gone

Matt S Trout dbix-class at trout.me.uk
Fri Aug 19 22:47:12 CEST 2005


On Fri, Aug 19, 2005 at 01:09:33PM -0400, Allan Burnett wrote:
> It looks like the detach method is gone. Is there another way to do a
> non-returning 'forward'?

Could you please clarify what the hell you're talking about?

http://search.cpan.org/src/MRAMBERG/Catalyst-5.33/lib/Catalyst/Dispatcher.pm

and

http://dev.catalyst.perl.org/repos/Catalyst/trunk/Catalyst/lib/Catalyst/Dispatcher.pm

both clearly contain the following code:

sub detach {
    my ( $c, $command, @args ) = @_;
    $c->forward( $command, @args ) if $command;
    die $Catalyst::Engine::DETACH;
}

Which is how dispatch has always been implemented AFAIK.

-- 
     Matt S Trout           Website: http://www.shadowcatsystems.co.uk
  Technical Director        E-mail:  mst (at) shadowcatsystems.co.uk
Shadowcat Systems Ltd.

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list