import "builder" into the right namespace - thanks, gbhat!
Karen Etheridge [Wed, 31 Aug 2016 22:15:53 +0000 (15:15 -0700)]
lib/Web/Simple/Application.pm

index f72142a..65919ad 100644 (file)
@@ -324,11 +324,10 @@ for use via L<Plack> and L<plackup>. 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);