in reply to Modulino trick for cgi scripts

If your scripts live on some kind of UNIX-like system you could use symbolic links. Write your CGI in "something.pm" than in the cgi-bin directory "ln -s /path/to/something.pm ./something.cgi"

I am using similar approach with CGI::Application scripts I am writing in order not to write separate instance scripts