From: Marius Gavrilescu Date: Tue, 16 Dec 2014 17:10:42 +0000 (+0200) Subject: Fix undef in lc warning X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=feaa8f5a8aa7742860faccc05111ba59647aef32;p=plack-app-gruntmaster.git Fix undef in lc warning --- diff --git a/lib/Plack/App/Gruntmaster.pm b/lib/Plack/App/Gruntmaster.pm index 503d0c4..17d198d 100644 --- a/lib/Plack/App/Gruntmaster.pm +++ b/lib/Plack/App/Gruntmaster.pm @@ -126,7 +126,7 @@ sub dispatch_request{ }, sub (?:format~) { - my $format = lc $_{format} // ''; + my $format = lc ($_{format} // ''); response_filter { my ($r) = @_; return $r if ref $r ne 'Plack::App::Gruntmaster::Response';