That hasn't been my experience. I always need to restart the server. One of
the challenges with that is that objects can persist in memory between
requests because the perl runtime persists between requests. If the
"script" changes, how do you apply those changes to objects instances which
already
On 19/05/14 12:13, Brad Van Sickle wrote:
> Yep you need to restart to see your changes.
I am sure I read somewhere that mod_perl monitors scripts and reloads
them if the modification date changes. But oh well. It definitely
notices sometimes.
cheers
Worik
--
The only true evil is turning peo
* André Warnier wrote:
> Date: Sat, 17 May 2014 11:59:24 +0200
> From: André Warnier
> To: mod_perl list
> Subject: Re: API Docs
> User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
>
> Worik Stanton wrote:
> >On 16/05/14 21:09, André Warnier wrote:
> >>Maybe you should start here :
> >>https
Yep you need to restart to see your changes.
Believe it or not, that's one of the *nice* things about mod_perl.
Instead of compiling the code during each execution as PERL does when
executed as a purely interpreted language , mod_perl causes each Apache
child process to compile the code durin
On 19/05/14 12:03, Worik Stanton wrote:
> Is there a way to get useful debugging info?
>
> I am getting messages like:
>
> "failed to resolve handler `Apache::AdMachine::MyHandler;'
>
Excuse my sillieness.
`Apache::AdMachine::MyHandler;' had a ';' on the end. The error
message was very sens
On 19/05/14 11:34, John Dunlap wrote:
> No, you have to restart the server for code changes to be noticed.
Does that mean I have to restart my server for every change to a script?
Worik
--
The only true evil is turning people into things
Granny Weath
Is there a way to get useful debugging info?
I am getting messages like:
"failed to resolve handler `Apache::AdMachine::MyHandler;'
Which says something is wrong, but offers no clue.
If I have a bug like:
my $z = ; # Clearly wrong
I get a useful error message.
So when I see:
"failed to re
No, you have to restart the server for code changes to be noticed.
On May 18, 2014 6:48 PM, "Worik Stanton" wrote:
> I am having a nproblem executing my handler.
>
> The short of it is it is when I make a change to the script I have to
> restart the server to get it noticed, and it does not alway
I am having a nproblem executing my handler.
The short of it is it is when I make a change to the script I have to
restart the server to get it noticed, and it does not always call the
same code.
The lng of it:
I have a package with a 'handler' function.
It starts...
package Apache::Script;
us