I would like perl to be as ready as it can be for a call to a sub that it has not called before in the program. Does perl automatically try to get everything ready in the beginning of execution, or does it wait for subs to be called before it 'compiles'(not sure of correct term) the sub? If it does wait until one is called, how do I make it 'compile' it at the beginning instead?
I got this idea, because it seems CGI.pm has a "compile()" function, and a "-compile" flag that (from what I could tell) preload subroutines.
If I do not know what I am talking about (likely), please set me in the right direction.