or:use vars qw($var1 $var2 $var3); { $var1 = 'One'; $var2 = 'Two'; $var3 = 'Three'; }
Have to scope the assignment somehow to tell mod_perl you want to re-assign and not keep persistent.use vars qw($var1 $var2 $var3); initialize(); sub initialize { $var1 = 'One'; $var2 = 'Two'; $var3 = 'Three'; }
In reply to Re: time in mod_perl
by Elijah
in thread time in mod_perl
by Bruce32903
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |