At 04:24 PM 5/9/01, Robert Landrum wrote:
>At 3:51 PM -0400 5/9/01, Morbus Iff wrote:
>>** The 700k file is an XML file, read in by XML::Simple. XML::Simple
>>can cache that file into memory. Is this how I should do it? Or
>>should I load the file from my startup.pl script so that the file is
>>shared amongst all the apache children? If that's the case, how
>>would I dynamically reload it?
>
>Basically, I loaded the file into $My::Data via the startup.pl.
>
>Then I did a
>$SIG{'USR2'} = sub {
> open(FILE,'file');
> $My::Data = process_file(\*FILE);
> close(FILE);
>};
Ahhh. Ok. What's this $SIG{'USR2'} thingy. What's that do?
Morbus Iff
.sig on other machine.
http://www.disobey.com/
http://www.gamegrene.com/