The following talk link discusses how to do something similar to what you ask
http://conferences.oreillynet.com/cs/os2001/view/e_sess/1262
I am not sure if Oreilly allows the presentations to be downloaded for old conferences somewhere on their website. If not, email me privately and I will dig up the slides for you.
In summary, you will probably do well by replacing start() and end() fnctions with BEGIN, END blocks instead and using Apache::PerlRun instead of Apache::Registry since Velocigen is more similar to PerlRun. Try Apache::Registry though because Apache::Registry is even better (but more finicky about how you write your code). Anyway, I am 95% sure that this would let you run your velocigen scripts mostly in mod_perl with minimal hassles.
Not quite so for BEGIN blocks:
http://perl.apache.org/docs/1.0/guide/porting.html#BEGIN_blocks
They won't be run on each request. I'm not familiar with velocigen to suggest the right solution.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html