Thank you Gerald and Andrew - that's most helpful and much appreciated
Michael
On Mon, Jul 26, 2010 at 9:06 AM, Gerald Richter - ECOS <
[email protected]> wrote:
> Hi Michael,
>
>
>
> one way of figuring out if it was called through Execute is to use the
> caller funtction of Perl.
>
>
>
>
OK, so I've decided to try to use import instead. I'm seeing this error:
--- embperl2.pl ---
use Embperl;
Embperl::Execute({ inputfile => 'test.epl', 'import' => 1 });
head();
--- test.epl ---
[$ sub head $]
head
[$ endsub $]
main
---
%perl embperl2.pl
[14900]ERR: