From feaa8f5a8aa7742860faccc05111ba59647aef32 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Tue, 16 Dec 2014 19:10:42 +0200 Subject: [PATCH] Fix undef in lc warning --- lib/Plack/App/Gruntmaster.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.39.2