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 $]

 

print "main\n";

---

 

When I execute embperl1.pl I get:

 

% perl embperl1.pl

[0]

 

Any ideas? I am on HP-UX itanium ia64, Embperl 2.3.0.  I decided to
double check and make sure Embperl passed all tests when I built it, it
did.

Reply via email to