Skip to content

Commit

Permalink
Revert "Eliminate "Use of uninitialized value in uc" warning."
Browse files Browse the repository at this point in the history
This reverts commit 9aebfa7.
  • Loading branch information
ap committed Mar 19, 2015
1 parent 78cbd48 commit fa1346e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Plack/Middleware/MethodOverride.pm
Expand Up @@ -28,7 +28,6 @@ sub call {
my $override = uc (
$env->{$self->header}
or $env->{QUERY_STRING} && Plack::Request->new($env)->query_parameters->{$self->param}
or ''
);
$env->{REQUEST_METHOD} = $override if exists $allowed_method{$override};
}
Expand Down

0 comments on commit fa1346e

Please sign in to comment.