Jeff Ng wrote:
> 
> I would like to Apache::ASP to parse pages in an existing mod_perl
> environment.  Ideally, I could set headers with mod_perl, then use
> Apache::ASP to parse templates which I can arbitrarily combine.  It seems
> that using Apache::ASP forces me to do most of my coding in the perlscript
> whereas I would prefer to minimize this for the sake of not interspersing
> too much code within the HTML.
> 
> As it stands, it appears that the output of Apache::ASP goes directly to
> stdout.  Is there a way to use Apache::ASP as part of a normal mod_perl
> module, then capture the output to a variable?
> 

Apache::ASP was built to be a fully standalone environment, thus
doing this is not easy.  It would be a worthwhile extension of
the environment to be able to use Apache::ASP just to render
specific templates, and provide the output back to the caller,
but an extension it would be, quite significant I would imagine.

> Or perhaps there is a better solution using Mason?
> 

... also some of the other templating solutions, which were
designed for this purpose.

-- Joshua
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks >> free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Reply via email to