> From: Thompson, John [mailto:jth...@midwestern.edu]
> Sent: Tuesday, 27 July 2010 2:47 AM
Hi John,
> I am attempting to use the Execute({ object => '...' })
> feature but am seeing strange results. Here are my two files:
Firstly, test.epl does not do what you think it does. It should read:
I am attempting to use the Execute({ object => '...' }) feature but am
seeing strange results. Here are my two files:
- embperl1.pl -
use Embperl;
my $obj = Embperl::Execute({ object => 'test.epl' });
print "[$obj]\n";
---
- test.epl -
[$ sub head $]
print "head\n";
[$ endsub
Hi Michael,
one way of figuring out if it was called through Execute is to
use the caller funtction of Perl.
The other one you can try it to use sub_req:
sub_req
top
Method: