perl-asp mailing list archives

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

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> 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) { %>
<% } %>

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

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

   -- Yuval

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message