Home  |  Linux  | Mysql  | PHP  | XML
From:Matt Whipple Date:Sun Nov 29 14:16:56 2009
Subject:Re: problems with 'require'
Paweł Prędki wrote:
>
> I changed all the permissions and what I get now is that everything
> works fine but whenever I make changes to the .pm file I need to
> restart the server that is running locally for the changes to be seen
> in my main script... This is not the case on the live target server
> where I use both the .pm file and the scripts. So, after all,
> everything is sort of OK right now.
>
That's a result of mod_perl loading/compiling Perl modules on server
startup. There may be a development mode flag to change this behavior
with Apache::Registry, otherwise look at Apache::PerlRun for testing.

>>
>>> I'm running ActivePerl 5.10.1 with Apache2.2 with mod_perl.
>>> Alias /perl "E:\webdev\perl"
>>> <Location /perl>
>>> SetHandler perl-script
>>> PerlResponseHandler ModPerl::Registry
>>> Options +ExecCGI
>>> PerlOptions +ParseHeaders
>>> </Location>
>>> ScriptAlias /cgi-bin/ "E:/webdev/perl/cgi-bin/"
>>>
>>> Cheers,
>>> palo
>>>
>>
>>

Navigate in group perl.beginners.cgi at sever nntp.perl.org
Previous Next





  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants