in reply to Running CGI scripts without a server
Or Search Perlmonks for other options
And there's plenty of information on How to configure apache here too.