]> iEval git - plack-app-gruntmaster.git/blobdiff - lib/Plack/App/Gruntmaster.pm
Re-enable experimental::smartmatch warnings
[plack-app-gruntmaster.git] / lib / Plack / App / Gruntmaster.pm
index 3ec4e78300fd623a2c85457c0e5b07c715d2de18..62bef3283d6b6672af1051bd4748ef295f1162a9 100644 (file)
@@ -18,7 +18,6 @@ use Plack::App::Gruntmaster::HTML;
 
 use warnings NONFATAL => 'all';
 no warnings 'illegalproto';
-no if $] >= 5.017011, warnings => 'experimental::smartmatch';
 
 ##################################################
 
@@ -34,6 +33,7 @@ use constant CONTENT_TYPES => +{
        pas => 'text/x-pascal',
        pl => 'text/x-perl',
        py => 'text/x-python',
+       l => 'text/plain',
 };
 
 use constant FORMAT_EXTENSION => {
@@ -47,6 +47,7 @@ use constant FORMAT_EXTENSION => {
        PASCAL => 'pas',
        PERL => 'pl',
        PYTHON => 'py',
+       SBCL => 'l',
 };
 
 use constant NOT_FOUND => [404, ['Content-Type' => 'text/plain'], ['Not found']];
This page took 0.022883 seconds and 4 git commands to generate.