perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fred Lovine" <fred.lov...@citylinkweb.com>
Subject global.asa required file not reloading
Date Tue, 20 Nov 2001 06:19:33 GMT
Hi,

I have the following global.asa:
-------------
require "citylinkweb.pl";

-------------

But when the required file is edited, the changes do not take effect until
the Apache server is restarted.
Other files are reloading automatically. How do I get this file to
dynamically reload?

Here are my httpd.conf settings:
PerlSetVar Global  .
PerlSetVar StatINC 1
PerlSetVar DynamicIncludes 1
PerlSetVar Clean 0
PerlSetVar FileUploadMax 2500000
PerlSetVar FileUploadTemp 1
PerlSetVar Debug 2
PerlSetVar TimeHiRes 1

And for extra credit:
When the required file has a reference to
$main::Request->ServerVariables('SERVER_SOFTWARE') and is then edited, an
error is generated:

[Tue Nov 20 01:12:27 2001] [error] [asp] [844] [error] can't require/reload
citylinkweb.pl: Can't call method "Item" on an undefined value at
C:/CLW/Perl/site/lib/Apache/ASP.pm line 3298. <--> Compilation failed in
require at C:/CLW/Perl/site/lib/Apache/ASP.pm line 2374. <--> ,
C:/CLW/Perl/site/lib/Apache/ASP.pm line 2377

So, it seems that there is an attempt to reload the file. Subsequent calls
to the app however use the original file and without error, until the
required file is altered again.

Any insight into this one?

Thanks.

Fred Lovine
fred.lovine@citylinkweb.com


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message