1use Cwd; 2use Plack::App::Directory; 3my $app = Plack::App::Directory->new(root => Cwd::cwd)->to_app; 4