Re: Edit .pm file; Why must bounce Apache?

2006-01-23 Thread Pete Alvin
ript on Windows that starts Apache? Where is the modperl command that starts Perl so that I can add the switches on Windows? Thanks in advance. Pete On Mon, 23 Jan 2006 10:53:45 +0800, Foo Ji-Haw wrote: >Try >PerlSwitches "-Ic:/ps" > >- Original Message - >From:

Re: Edit .pm file; Why must bounce Apache?

2006-01-21 Thread Pete Alvin
Thanks! I'm 90% of the way there. But I have a @INC issue: I've been using: use lib 'C:/ps'; to specify where my Perl modules are. According to: http://perl.apache.org/docs/2.0/api/Apache2/Reload.html I need to modify @INC when the server is started. I tried this: Perl

Edit .pm file; Why must bounce Apache?

2006-01-21 Thread Pete Alvin
Whenever I edit a file, like peter.pm, I reload the Perl application in my browser, the change doesn't take effect. I must re-start Apache, then, voila, the changes appear. Is there a setting I can change to make modperl look to see if Perl files have changed so I don't have to keep re-starting A

Hitting head against wall: can't get perl to execute file

2006-01-03 Thread Pete Alvin
I'm trying to set up modperl on Windows XP. Instead of executing the file, I get this returned to my browser: #!/usr/bin/perl5.8.0 print "Content-type: text/html\n\n"; print "Hello World!\n"; 1; Here is how I load perl: LoadFile "C:/Program Files/Perl/bin/perl58.dll" LoadModule perl_module