Jul 30, 2001, 9:37 PM
Post #4 of 5
Sorry I can't help you with your real problem, but I still don't see the need for compiling the script.
...the purpose is to hide the source...If your server is configured correctly, no one else but you should be able to see the code. If someone could break such a well configured system, he'd be happy with the compiled code, too ;-)
...and reduce start up time of those cgi program.I don't think you'll be able to reduce the startup time significantly, because the compiled scripts become *very* large executables (at least that's what I've seen: a 'hello world' compiled into a one meg executable; only seen it, didn't figure it out myself). If it's speed you want, try to use mod_perl for Apache, which reduces the overhead of running the Perl interpreter all the time, or (if it's really neccessary) write your CGI application in C.
Isn't an answer to your question, hope it helps anyway...