in reply to
Module for trying out CGI/Apache+Perl
Plan carefully. There are very-lightweight HTTP servers such as HTTP::Server::Simple which you can execute right within your own login session, and connect-to by opening a specified port-number at localhost, which is always your own machine. This will create an environment that is functionally identical to the one that Apache will create for you, and it is considerably easier for testing. (For intra-net purposes, I have been known to use those packages in production, and they work just fine.)
I happen also to be fond of Plack, and use the plackup command at the command-line to run a local-server instance in the same way.