Browse files

Merge pull request #6 from chorny/master

compatibility with perl 5.14, also put reference to git repo in meta data.
  • Loading branch information...
2 parents b86d14e + b1071a3 commit 1d76de3a295172259a5af4ff0096c1af7eaa2fde @markstos markstos committed Oct 17, 2011
Showing with 6 additions and 1 deletion.
  1. +5 −0 Build.PL
  2. +1 −1 lib/CGI/Application/Dispatch.pm
View
5 Build.PL
@@ -28,6 +28,11 @@ my $build = $build_pkg->new(
'Plack' => 0.9956, # really, we just depend on Plack::Test, but Plack::Test has not declared a version.
$have_apache_test ? ( 'Apache::Test' => 0 ) : (),
},
+ meta_merge => {
+ resources => {
+ repository => 'https://github.com/markstos/CGI--Application--Dispatch',
+ },
+ },
);
$build->create_build_script;
View
2 lib/CGI/Application/Dispatch.pm
@@ -812,7 +812,7 @@ sub handler : method {
# setup our args to dispatch()
my %args;
my $config_args = $r->dir_config();
- for my $var qw(DEFAULT PREFIX ERROR_DOCUMENT) {
+ for my $var (qw(DEFAULT PREFIX ERROR_DOCUMENT)) {
my $dir_var = "CGIAPP_DISPATCH_$var";
$args{lc($var)} = $config_args->{$dir_var}
if($config_args->{$dir_var});

0 comments on commit 1d76de3

Please sign in to comment.