>>>>> "Jurriaan" == Jurriaan van der Laan <[EMAIL PROTECTED]> writes:

Jurriaan> myperlfile.pl

Jurriaan> my $vars = { globaldata => \%GlobalData,
Jurriaan>              tasks => \%Tasks,
Jurriaan>              problems => \%Problems};

Jurriaan> What I notice that unless I touch my perl script every the time (mod_perl
Jurriaan> will "recompile" it)

Is this under Apache::Registry?  (Aside - I wish people would not ask
for help automatically presuming that Apache::Registry means "mod_perl".)

If so, have you read "perldoc mod_perl_traps"?  Do you understand that
if you make %GlobalData a package variable, it will persist from
hit to hit?

You need a redesign.  It's not a one line thing, unless the one line
is making %GlobalData a lexical variable, and properly reloading it
between hits.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


Reply via email to