use strictures; use Plack::App::WrapCGI; Plack::App::WrapCGI->new(script => "./my.cgi")->to_app;