in reply to Preprocessor Pranks

The answer to #2 is to use the Benchmark module. You'll have to use system() or backticks to execute perl in a subprocess but aside from that the task should be quite straight-forward. I think you should take advantage of this opportunity to learn to use Benchmark and answer #1 (and possibly #3) yourself. Post your results here if/when you do.

-sam