http://www.perlmonks.org?node_id=631469


in reply to RFC: Profiling your code.

Interesting...I might be able to use this sometime.

As far as CGI goes, I tried it out on a personal web project and all I had to do was give global write permissions to the directory where Apache ran my scripts (chmod 777 /path/to/my/scripts). Only on a dev machine, of course; I wouldn't want to do that on a production box.