X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FWeb%2FSimple%2FApplication.pm;h=9511e3429bd2548499becc787281588faecb4370;hb=eec9636acdba2ac007c46f3395ef98c8cb097f00;hp=be34500302fc95f47f5ff5a4cb893a906d89da89;hpb=9ddb5734c47eaf6b3101ab5c0060bb20c149dea5;p=catagits%2FWeb-Simple.git diff --git a/lib/Web/Simple/Application.pm b/lib/Web/Simple/Application.pm index be34500..9511e34 100644 --- a/lib/Web/Simple/Application.pm +++ b/lib/Web/Simple/Application.pm @@ -167,14 +167,14 @@ sub _construct_subdispatch { my $chain = $class->_build_dispatch_chain(@res); return $class->_build_dispatcher({ call => sub { - my ($d, $self, $env) = (shift, shift, shift); + my ($d, $self, $env) = (shift, shift, shift); pop; # lose trailing $env return $chain->dispatch($env, $self, @_); } }); }); return $class->_build_dispatcher({ call => sub { - my ($d, $self, $env) = (shift, shift, shift); + my ($d, $self, $env) = (shift, shift, shift); pop; # lose trailing $env my @sub = $disp->dispatch($env, $self, @_); return @sub if @sub; return unless (my $next = $d->next);