You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by y <yu...@windax.com> on 2002/10/17 18:27:52 UTC

Including files dynamically

Hi,

I want to include a file, in the same way like:
<!--#include file=conf.inc-->
So it could become a part of the script (i.e: use the same variables, etc.).

require doesn't work, of course, and $Response->Include() isn't what I'm 
looking for either...

The file I'm trying to include is in Apache::ASP format too, so I can't 
eval it or use require.

Any help would be appreciated.

   -- Yuval


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


Re: Including files dynamically

Posted by Josh Chamas <jo...@chamas.com>.
y wrote:
> Hi,
> 
> I want to include a file, in the same way like:
> <!--#include file=conf.inc-->
> So it could become a part of the script (i.e: use the same variables, 
> etc.).
> 

This syntax should work, doesn't it?

Regards,

Josh
________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com


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