Re: Hmmmm....

2004-07-11 Thread Andy Armstrong
David Arnold wrote: I am wondering why it's trying to run the file Rules2.pm. Why doesn't it just restart then wait to report the error when I attempt to access scinux.redwoods/mod_perl_rules2? It's not trying to run it - it's trying to compile it. sub handler { my $=shift; That's the error. Yo

Re: Hmmmm....

2004-07-10 Thread David Arnold
Stas, No, I did notice the error. It's just that I've been alternating back and forth from modperl2 to 1 that I cannot keep straight all the events that are happening. I knew there was an error in Rules2.pm, but it felt strange that is showed up when I was restarting the server. But, I later concl

Re: Hmmmm....

2004-07-10 Thread Stas Bekman
David Arnold wrote: did you actually look at the error message? Can't use global $= in "my" at /home/darnold/modperl//ModPerl/Rules2.pm line 9, near "my $=" syntax error at /home/darnold/modperl//ModPerl/Rules2.pm line 9, near "$=shift" sub handler { my $=shift; That should be: my $r = shift

Re: Hmmmm....

2004-07-10 Thread fred
> I am wondering why it's trying to run the file Rules2.pm. Why doesn't it > just restart then wait to report the error when I attempt to access > scinux.redwoods/mod_perl_rules2? Mod_Perl compiles all library modules and loads them into memory when the Apache server is started. That is why mod_p