in reply to embedded BEGIN and END?

Could you put your "rendering machine" in a perl daemon that's always running (and maybe spawning childs), and have the cgi just trigger a rendering process with the new args?
this might depend on how you implement stuff, but with a little help from 'man perlipc' it shouldn't really be hard.
plus, of course it could save you some startup and CPU time, cause the modules are already loaded in the daemon.
-- bash$ :(){ :|:&};:

Replies are listed 'Best First'.
RE: Re: embedded BEGIN and END?
by Aighearach (Initiate) on Jun 01, 2000 at 04:45 UTC
    Yes! I could do that, but then I lose all the benefits of having the code run inside mod_perl. Also, I don't want to fork off children, because of the amount of RAM it would use; it would lower the number of simultanious users that can use the service.
    Paris Sinclair    |    4a75737420416e6f74686572
    pariss@efn.org    |    205065726c204861636b6572
    I wear my Geek Code on my finger.