http://qs1969.pair.com?node_id=953641


in reply to Serve a file from a CGI script

Maybe you're thinking about Serving a Local Directory with Plack? Not CGI, but have a look at PSGI.