On Thu, 27 Nov 2003, Dmitry Sergienko wrote:
> I need to import variables from exim into perl and export them from perl back
> to exim.
From within Perl, you can access any Exim variable by calling back to
Exim's "expand" function.
Fetching variables back is not possible.
> This patch exports variables $acl_[cm][0-9] into perl before invoking perl
> function and fetches them after perl function is finished.
I'm afraid I do not like this patch, because it is so special-purpose
(it handles only the $acl_ variables). If passing back variables from
Perl to Exim is really a facility that many people want, then some
general-purpose mechanism should be invented, such as a function that
can be called from Perl to take a value and put it in a named variable.
Philip
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book