Re: Reloading Modules

2002-05-30 Thread Ted Prah
Stas Bekman wrote: > Ted Prah wrote: > > Thanks for the input Stas. I found your debugging methodology > > to be very informative and especially useful in a mod_perl environment. > > > > I tried your suggestion of commenting out > > require $key;

Re: Reloading Modules

2002-05-29 Thread Ted Prah
s you might have. Your code to work around Exporter worked fine. However, I think I'll stick with using Exporter so that I can make use of the export tags. Thanks again! Ted Stas Bekman wrote: > Ted Prah wrote: > > Hi again, > > > > I'm having trouble seeing modul

Reloading Modules

2002-05-22 Thread Ted Prah
Hi again, I'm having trouble seeing module changes when I reload a script that uses it. I'm using Apache::Reload and my test script/module is as follows: test.pl #!/usr/local/bin/perl use strict; use warnings; use My::Test qw(:subs); print "Content-type: text/plain\r\n\r

Re: Reloading Library Files

2002-05-20 Thread Ted Prah
Stas Bekman wrote: > Ted Prah wrote: > > >>do you test only this script alone? What happens if you add the package > >>declaration and then call it using the full name? e.g.: > >> > > > > > > Yes, this is the only script (and corresponding

Re: Reloading Library Files

2002-05-20 Thread Ted Prah
Stas Bekman wrote: > Ted Prah wrote: > > Thanks Drew, I tried that, but it did not work. > > What happends if you add: > > PerlWarn On > > in httpd.conf > > or > > start the script with perl -w? > > any warnings? > I had PerlWarn On and added

Re: Reloading Library Files

2002-05-17 Thread Ted Prah
StatINC has been around a little longer. Both have worked well for me. > > > But be sure that you don't use these modules on a production server. :-) > > > > > > httpd.conf > > > == > > > PerlInitHandler Apache::Reload > > >

Re: Reloading Library Files

2002-05-17 Thread Ted Prah
e modules on a production server. :-) > > httpd.conf > == > PerlInitHandler Apache::Reload > > Drew > > At 01:38 PM 5/17/02 -0400, Ted Prah wrote: > >Hi, > > > >I am new to mod_perl and am having problems seeing the > >changes made to libr

Reloading Library Files

2002-05-17 Thread Ted Prah
Hi, I am new to mod_perl and am having problems seeing the changes made to library files. Must I restart the server every time I change a library file in order to see my changes? My test code and environment is below. z.pl - test script which calls entry_point in z_lib.pl