Re: Executing ASP in scalar...

2001-05-27 Thread Philip Mak
On Sun, 27 May 2001, Joshua Chamas wrote: > This feature where $Response->Include() can take > a raw ASP script as a scalar ref will be in the 2.11 > release. I'll send it to you separately. If all else fails, I suppose it would work to write the ASP script to a temporary file (there are CPAN p

Re: Executing ASP in scalar...

2001-05-27 Thread Joshua Chamas
Joshua Chamas wrote: > > Håkan Lindqvist wrote: > > > > Thank you very much for your helpful response... it seems however that the > > code you supplied does not really work... (I know, you did say it was > > untested and I honestly did not fully understand the code, so the > > solution may b

Re: Executing ASP in scalar...

2001-05-27 Thread Joshua Chamas
Håkan Lindqvist wrote: > > Thank you very much for your helpful response... it seems however that the > code you supplied does not really work... (I know, you did say it was > untested and I honestly did not fully understand the code, so the > solution may be very obvious for you)... > > Any

Re: Executing ASP in scalar...

2001-05-27 Thread Håkan Lindqvist
On Sunday 27 May 2001 22:10, Joshua Chamas wrote: [snip] > Until this functionality is released officially, I would try something > like: > > ( untested ) > sub my_execute { > my $asp_script = shift; > my $ASP = $main::Server->{asp} > my $perl_script = $ASP->Parse(\$asp_script); > my $sub

Re: Executing ASP in scalar...

2001-05-27 Thread Joshua Chamas
Håkan Lindqvist wrote: > > Hello! > > Is there any way to get Apache::ASP to do something like "$Response->Include" > on a scalar containing ASP code instead of a filename (something like "eval" > but for ASP instead of plain perl)? > Until this functionality is released officially, I would tr

Executing ASP in scalar...

2001-05-26 Thread Håkan Lindqvist
Hello! Is there any way to get Apache::ASP to do something like "$Response->Include" on a scalar containing ASP code instead of a filename (something like "eval" but for ASP instead of plain perl)? (If I'm not mistaken Parse is in itself compatible with this, but Include calls CompileInclude