Catalyst-ActionRole-DetachOnDie
view release on metacpan or search on metacpan
"Test::Pod" : "1.41",
"Test::Pod::Coverage" : "1.08"
}
},
"runtime" : {
"requires" : {
"Catalyst" : "5.90006",
"Catalyst::Action::RenderView" : "0.16",
"Catalyst::Controller::ActionRole" : "0.15",
"Test::More" : "0.98",
"Try::Tiny" : "0.11"
}
}
},
"release_status" : "stable",
"resources" : {
"repository" : {
"type" : "git",
"url" : "git://github.com/frioux/Catalyst-ActionRole-DetachOnDie.git",
"web" : "http://github.com/frioux/Catalyst-ActionRole-DetachOnDie"
}
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: Catalyst-ActionRole-DetachOnDie
requires:
Catalyst: 5.90006
Catalyst::Action::RenderView: 0.16
Catalyst::Controller::ActionRole: 0.15
Test::More: 0.98
Try::Tiny: 0.11
resources:
repository: git://github.com/frioux/Catalyst-ActionRole-DetachOnDie.git
version: 0.001006
Makefile.PL view on Meta::CPAN
},
"DISTNAME" => "Catalyst-ActionRole-DetachOnDie",
"EXE_FILES" => [],
"LICENSE" => "perl",
"NAME" => "Catalyst::ActionRole::DetachOnDie",
"PREREQ_PM" => {
"Catalyst" => "5.90006",
"Catalyst::Action::RenderView" => "0.16",
"Catalyst::Controller::ActionRole" => "0.15",
"Test::More" => "0.98",
"Try::Tiny" => "0.11"
},
"TEST_REQUIRES" => {},
"VERSION" => "0.001006",
"test" => {
"TESTS" => "t/*.t"
}
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
[MetaJSON]
[PodWeaver]
[PkgVersion]
[ReadmeFromPod]
[PodCoverageTests]
[PodSyntaxTests]
[Prereqs]
Catalyst = 5.90006
Try::Tiny = 0.11
Catalyst::Controller::ActionRole = 0.15
Catalyst::Action::RenderView = 0.16
Test::More = 0.98
lib/Catalyst/ActionRole/DetachOnDie.pm view on Meta::CPAN
package Catalyst::ActionRole::DetachOnDie;
{
$Catalyst::ActionRole::DetachOnDie::VERSION = '0.001006';
}
use Moose::Role;
use Try::Tiny;
use Scalar::Util qw(blessed);
# ABSTRACT: If something dies in a chain, stop the chain. DEPRECATED IN FAVOR OF CATALYST 5.90040
around execute => sub {
my ($orig, $self, $controller, $c, @args) = @_;
try {
$self->$orig($controller, $c, @args)
} catch {
( run in 0.787 second using v1.01-cache-2.11-cpan-05444aca049 )