You need a webserver, as Beatnik already noted. Apache can be daunting to set up at first (update: or maybe the package emcs++ mentions makes it not so), so you might want to start out with Ritlab's TinyWeb server. If you do, I would advise you to upgrade to Apache sometime anyway, because TinyWeb's CGI support is rather limited in some ways. But it's enough to make first steps with, and it's quick to set up so you can go about learning Perl for the time being and forget about the more intricate details of running a webserver.