I guess it's more mod_perl rather that mason question. I got a situation where I'd like ideally populate hash or array during the server start up and share it between apache processes. Please let me know if the of the book example is what I need:
thanks<Perl> my %foo = (a => 0, b => 1); for (%foo) { push @{ $Location{"/"}->{PerlAddVar} }, [ foo => $_ ]; } </Perl>
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |