Christoph Lange wrote:

> The frist time I ran "diplmod" everything was ok. Unfortunately changes 
> to the "test_check"-subroutine-output in the code have (most of the 
> time) no impact on what the browser shows when I reload "diplmod". 
> Sometimes changes appear after several reloads despite the module has 
> already changed again. Creating a new subroutine in the module (and 
> adding it to  to @EXPORT) always leads to errors like
> 
> Status.pm: Undefined subroutine 
> &Apache::ROOT::cgi_2dbenver::diplmod::test_check2
> 
> I took thought "use Apache::Reload" would guaranty that modules are 
> reloaded if changed. I don't get any error-message for "use 
> Apache::Reload"  and $INC{'Checking.pm'} returns the right path. I guess 
> I could solve the problem by restarting the server after every change. 
> Unfortunately I am not the administrator and the server contains 
> programs of several different users.
> 
>  
> 
> Does anyone have an idea how to solve this problem? I guess I will have 
> to ask the administrator to change or add something but is it possible 
> to solve my problem without effecting all other programs on the server?


Spend some time reading the guide, especially:

http://perl.apache.org/guide/porting.html#Name_collisions_with_Modules_and

http://perl.apache.org/guide/porting.html#Reloading_Modules_and_Required_F



_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/

Reply via email to