I'm developing some CGI scripts and I'm trying to find a solution to decrease the "starting time" produced when I import a lot of modules with "use".
Update:
The solutions provided are nice, but the scripts I'm working runs both in console and CGI mode checking if some typical HTTP environment variables are present.
In "console mode" they dump the data "normally", and in "html mode" they make some realtime replacements and send other HTTP headers to the client.
I'd like to improve the startup time in both cases.