Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
perltidy does not like nested blocks
  • Loading branch information
kraih committed Feb 23, 2016
1 parent 170810d commit b96cea3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Mojo/Server/PSGI.pm
Expand Up @@ -23,9 +23,7 @@ sub run {
my $res = $tx->res->fix_headers;
my $hash = $res->headers->to_hash(1);
my @headers;
for my $name (keys %$hash) {
push @headers, map { $name => $_ } @{$hash->{$name}};
}
for my $name (keys %$hash) { push @headers, $name, $_ for @{$hash->{$name}} }

# PSGI response
my $io = Mojo::Server::PSGI::_IO->new(tx => $tx, empty => $tx->is_empty);
Expand Down

0 comments on commit b96cea3

Please sign in to comment.