$r-dir_info and BEGIN {}?

2000-12-28 Thread Rafael Kitover
We obviously do not have access to a request object during a BEGIN {} block, but if I have a bunch of PerlSetVar things that I don't want to re-initialize every time handler() is called for speed reasons, what is the most elegant way to have an initialization sub that needs access to things set

@INC and Apache::Registry scripts

2000-11-20 Thread Rafael Kitover
Recently I was having a weird problem. I was playing with a CPAN module, and needed to make some changes to it. So I copied it to a different directory out of the /usr/local/lib... perl area. And added a use lib qw(/path/to/that/dir); to the top of my Apache::Registry script. However, on some

reloading PerlHandlers

2000-08-11 Thread Rafael Kitover
Hi all, Firstly, I apologize if this comes up frequently, I did try to find it in the archives/FAQs. I just started playing with PerlHandlers, much simpler, faster and alot more fun than I expected! But, when I tweak the code of a module I have to do an apachectl graceful or something, very