Hi- I haven't tested this, but try passing "-" as the name of the file. This is a standard convention for perl scripts (open(FILE, "-")). It will read from STDIN. HTH, --Quentin On Tuesday, June 4, 2002, at 02:49 PM, Fisher, James wrote:
> I need to build up the source code to an Apache::ASP page and resolve > it. > Josh had previously suggested that I use $Response->Include(\$text); > because > this will dynamically resolve $text and evaluate it in the context of > Apache::ASP. However, I need to use this outside of files and Apache. > For > example here is what I would like to do. > > $text = <<EOF; > <my:include src='header.inc' title='XMLSubsMatch Demo'/> > > This is a demonstration of the XMLSubsMatch extension which > allows for the developer to construct a set of custom XML style > tags for use in ASP scripts. These tags could be used > to render entire XML documents, or even simply give some nice > short cuts for use when site building. > > EOF > > Then, I would like to pass $text to the Apache::ASP interpreter and > get a > result back. I have been testing the offline mode with the script > asp-perl > that comes with Apache::ASP. That script(and Apache::ASP) seems to > need a > file to work properly. I am confused about how to use the > $Response->Include(\$text); suggestion. > > JF > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > > www.mimesweeper.com > ********************************************************************** > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
