Fix undef in lc warning
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 16 Dec 2014 17:10:42 +0000 (19:10 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 16 Dec 2014 17:10:53 +0000 (19:10 +0200)
lib/Plack/App/Gruntmaster.pm

index 503d0c426a1c5e57c2dc3cd1af6ffc7d94c39b04..17d198d74b976fcb95397f5e34214999365756bf 100644 (file)
@@ -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';
This page took 0.01039 seconds and 4 git commands to generate.