D. L. Fox
Tue, 24 Oct 2006 05:56:47 -0700
At the top of global.asa (not inside any subs) I have the line: our ($base_url, $Form); # running on perl 5.8.5 inside the Script_OnStart event I have: $base_url = 'http://url/to/site';Correct me if I'm wrong: This scalar should be global to all the scripts on my site, yes?
I only have one StateDir and Global directory. I'm not trying to run more than one ASP application, or share anything. Just one website running with one global.asa, etc. It is still working fine on my old host this way.
As soon as I try to use $base_url in another script, I get the following error:
error including default.inc, not compiled: maybe use strict error: Variable "$base_url" is not imported at /home/xxxxxx/asp/default.inc line 22. , /usr/lib/perl5/site_perl/5.8.7/Apache/ASP.pm line 1521
In .htaccess I have StatINC set to 1 until I can get all the bugs worked out. Does that have any affect on this?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]