perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From y <yu...@windax.com>
Subject Including files...
Date Wed, 23 Oct 2002 14:39:21 GMT
Hi,

I still can't include files the way I wanted to;
I have a scalar, with a filename. I want to include that file, which is 
in written in Apache::ASP format.

<!--#include file=file.inc--> works, but it doesn't help much since the 
file name is in a scalar.

$Response->Include() works too, but doesn't help since it runs the 
script, and returns the output. Also, the file I want to include should 
have access to the variables.

The weird thing is: this works:
<% if ($File) { %>
	<!--#include file=file.inc-->
<% } %>

Yet these don't:
<!--#include file=$File-->
<!--#include file=<%=$File%>-->

Have I missed anything? Is there a way to do it?


   Thanks,
   -- Yuval


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


Mime
View raw message