use strict; use Plack::App::Directory(); my $app = Plack::App::Directory->new( root => '.' )->to_app;