Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix for Web::Simple 0.004 -> 0.005

  • Loading branch information...
commit 55119ecfcd830302f9b85978fe5c35c9cc561c99 1 parent a1c5d22
Justin Hunter arcanez authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 web-simple.psgi
6 web-simple.psgi
View
@@ -4,7 +4,7 @@ package TestApp;
use Plack::Request;
use Plack::Response;
-dispatch {
+sub dispatch_request {
sub (GET + /) {
my $res = Plack::Response->new(200);
$res->content_type('text/plain');
@@ -31,7 +31,7 @@ dispatch {
sub (GET) {
Plack::Response->new(404)->finalize;
}
-};
+}
-TestApp->as_psgi_app;
+TestApp->to_psgi_app;
Please sign in to comment.
Something went wrong with that request. Please try again.