sub _build__dispatcher {
my $self = shift;
require Web::Dispatch;
- require Web::Simple::DispatchNode;
my $final = $self->_build_final_dispatcher;
# We need to weaken both the copy of $self that the
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);