projects
/
catagits/Catalyst-Plugin-ConfigLoader.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
clean up environment in tests to avoid outside interference
[catagits/Catalyst-Plugin-ConfigLoader.git]
/
t
/
lib
/
TestApp2.pm
1
package TestApp2;
2
3
use strict;
4
use warnings;
5
6
use MRO::Compat;
7
8
use Catalyst qw/ConfigLoader/;
9
10
__PACKAGE__->config( "Plugin::ConfigLoader",
11
{
12
file => __PACKAGE__->path_to( "customconfig.pl" )
13
}
14
);
15
16
our $VERSION = '0.01';
17
18
__PACKAGE__->setup;
19
20
sub finalize_config {
21
my $c = shift;
22
$c->config( foo => 'bar2' );
23
$c->next::method( @_ );
24
}
25
26
1;