On Wed, 12 Sep 2001, Tim Pushor wrote:
> When I use $Response->Include('filename'), does this script execute as
> a perl block or something? I notice that local variables are not
> visible inside the included file:
If you want Apache::ASP to be more liberal about Globals, you can do
"PerlSetVar DynamicIncludes 0" in your httpd.conf, and always use the
<!--#include file="..."--> syntax instead of $Response->Include. This is
not very efficient if the included files are used in many different
scripts, because then it must be compiled separately each time. But it
will put the include files inside the same namespace, allowing you to use
global variables freely.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]