From: Karen Etheridge Date: Wed, 31 Aug 2016 22:15:53 +0000 (-0700) Subject: import "builder" into the right namespace - thanks, gbhat! X-Git-Tag: v0.032~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FWeb-Simple.git;a=commitdiff_plain;h=ea54c010c46fee647172945fae6dd4523ff6ffd2 import "builder" into the right namespace - thanks, gbhat! --- diff --git a/lib/Web/Simple/Application.pm b/lib/Web/Simple/Application.pm index f72142a..65919ad 100644 --- a/lib/Web/Simple/Application.pm +++ b/lib/Web/Simple/Application.pm @@ -324,11 +324,10 @@ for use via L and L. If you want to globally add middleware, you can override this method: use Web::Simple 'HelloWorld'; - use Plack::Builder; { package HelloWorld; - + use Plack::Builder; around 'to_psgi_app', sub { my ($orig, $self) = (shift, shift);