Hi, I've done a decent amount of work in a particular script which reads a (flatfile) database, builds some data structures (hashes of arrays of arrays) does some processing and spits out a form.
I then want the user to choose some values on the form, submit it, then I would act upon that, ultimately updating the original data structure and writing out the mods - sounds pretty standard.. My question is, if I choose to handle the form submission (action="...") via a second (etc. etc.) script, how do I ensure my in-memory data structures will be available to that other script? I'm new to cgi/mod-perl, though I gather one could submit back to the same script - though this sounds like a pretty unscalable operation over the long haul, that is having *all* code in one script. Can someone point me down the right path? I have a feeling packages might have something to do with it - all my variables/structures are lexically scoped as is.. I apologize if this is not the right forum, but I am using mod_perl! Many thanks, Happy Star Wars 30th! -Mark