3 use Test::More tests => 1;
6 $SIG{__DIE__} = \&Carp::confess; # Stacktrace please.
8 # Doing various silly things, like for example
9 # use CGI qw/:stanard/ in your conrtoller / app
10 # will overwrite your meta method, therefore Catalyst
11 # can't depend on it being there correctly.
13 # This is/was demonstrated by Catalyst::Controller::WrapCGI
14 # and Catalyst::Plugin::Cache::Curried
17 package TestAppWithMeta;
19 no warnings 'redefine';
23 lives_ok { TestAppWithMeta->setup } 'Can setup an app which defines its own meta method';