Using Embperl 2.4.0_3
- embperl1.pl -
use Embperl;
my $obj = Embperl::Execute({ object => 'test.epl' });
print "[$obj]\n";
if($obj->can('head')) {
print "YES";
$obj->head();
}
- test.epl -
[$ sub head $]
head
[$ endsub $]
main
---
%: perl embperl1.pl
[0]
Ca
If Embperl-2.4.0 is considered stable/non-beta, it should be committed
to the CPAN repository. At the moment, 2.3 is still considered the
stable release and, as this is a production server, I'm not moving away
from it for the moment.
Perhaps a backport ought to be created to alleviate this issue i