Perl x Open Food Facts Hackathon: Paris, France - May 24-25 Learn more
123456789101112131415161718192021 package TestAppClassExceptionSimpleTest::Exception;use strict;use warnings;sub throw {}#########package TestAppClassExceptionSimpleTest;use strict;use warnings;use Catalyst::Utils; #< some of the scripts use Catalyst::Utils before MyApp.pmBEGIN { $Catalyst::Exception::CATALYST_EXCEPTION_CLASS = 'TestAppClassExceptionSimpleTest::Exception'; }use Catalyst;__PACKAGE__->setup;1;
package
TestAppClassExceptionSimpleTest::Exception;
use
strict;
warnings;
sub
throw {}
#########
TestAppClassExceptionSimpleTest;
Catalyst::Utils;
#< some of the scripts use Catalyst::Utils before MyApp.pm
BEGIN {
$Catalyst::Exception::CATALYST_EXCEPTION_CLASS
=
'TestAppClassExceptionSimpleTest::Exception'
; }
Catalyst;
__PACKAGE__->setup;
1;