Thanks Angus,

Thats exactly what I need - incidently, what docs is this in, I cant seem to
find it ?


Regards


Pete
----- Original Message -----
From: "Angus Lees" <[EMAIL PROTECTED]>
To: "Peter Moran" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 10:56 PM
Subject: Re: Dynamic Embperl


At Thu, 13 Nov 2003 11:14:10 +0100, Jörg Kütemeier wrote:
> Embperl::Execute({
>   inputfile => '...some file', # is important for embperl (e.g. caching)
>                          # it identifies the "real" request with it
>   mtime => undef,              # time for last modified...
>   input => \$content
>
> ... if you need it you can even redirect the output with
>   output => \$outputvar
> });

Just to repeat, since earlier posters seemed to have missed this in
the Embperl docs, 'input' and 'output' args to Execute let you run
to/from a scalar.

The 'mtime' and 'inputfile' args are used for caching, see docs and
take advantage of them if you can (have an mtime field in your DB).

--
 - Gus





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to