in reply to time in mod_perl
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'; }
|
---|