perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edouard Lagache" <>
Subject Embperl::Execute with your variables?
Date Tue, 11 Mar 2003 01:14:13 GMT
Dear EmbPerl veterans,

I'm trying to incorporate EmbPerl into a web-based greeting card program,
and I would like allow card designers to have access to about 25+
variables from the main script in their HTML templates.

I thought I could use something like this from the example file 

    $MyPackage::Interface::Var = 'Some Var' ;

    Embperl::Execute ({input		=> \'<P>Transfer some vars [+ $Var +] !</P>',
						 inputfile	=> 'Var',
						 mtime      => 1,
						 'package'  => 'MyPackage::Interface',
						 req_rec    => $r}) ;

However, I'm puzzled by the use of the option key 'inputfile' and can't
see how to specify more than one variable - never mind 25!  Has someone
messed around with this feature and would have some examples in between
this one and just reading the .pm source code? :-)

Peace, Edouard :-)

Edouard Lagache, Sysadmin
29 Altamount Drive
Orinda, CA, 94563

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message