> -----Original Message-----
> From: Gerald Richter [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 15, 2002 8:59 PM
> To: Michael Stevens; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: embperl subs and execute
> 
> 
> Hi.
> >
> > I first tried:
> >
> > Execute({inputfile => 'my file with embperl subs', import => 0});
> > Execute({sub => 'some_sub_defined_above' output => \$scalar});
> >
> This can't work, because Embperl doesn't know in which file your sub
> resides. For Embperl there is no relation between the two calls.

Okay. I couldn't work this out from the documentation and
only found the example below when I was getting desperate
and trying strange things.

> >
> > Execute({sub => 'wibble', inputfile => 'my file with 
> embperl subs', output
> > => \$scalar});
> >
> 
> This should work. Doesn't it?

Yes (sorry if I wasn't clear).

Michael

http://www.iii.co.uk 
Ample Interactive Investor is a leading UK Internet personal 
finance service that provides individuals with the capability to identify, 
compare, monitor and buy online a number of financial products and services.

Interactive Investor Trading Limited, a subsidiary of Interactive Investor
Ltd, is regulated by the SFA.

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

Reply via email to