That's not how CGI works, so it can't be done. You can potentially "pre-cache" some data in a Storable file, or in a database, or set up some environment variables.
If you want some kind of persistence, you will have to look into mod_perl or FastCGI.
In reply to Re: How to execute web code on server start only?
by Corion
in thread How to execute web code on server start only?
by johanr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |