I am curious as to why it matters? The actual sub code takes almost no memory, and will use no additional memory if the subs are not actually called. If you have *alot* of subs, and are worried about fork performance, that's not an issue. A fork makes a copy of the data portion of the process, but uses the same code portion, so the number of subs won't affect fork performance