Help for this page

Select Code to Download


  1. or download this
    ### This file is /var/www/plack-example/.htaccess
    ### Note the dot in the filename!
    SetHandler perl-script
    PerlResponseHandler Plack::Handler::Apache2
    PerlSetVar psgi_app /var/www/plack-example/app.psgi
    
  2. or download this
    ### This file is /var/www/plack-example/app.psgi
    use Data::Dumper;
    ...
        
        return [200, $headers, $body];
    };