The following works under Perl 5.20.3, but not 5.30.0:

use Embperl;

my $template = <<'.';
[+ substr('ABCD',2,2) +]
.

my $body;

Embperl::Execute({input  => \$template, output => \$body});

print "$body\n";

1;

Under 5.30.0, the substr value is empty.

Does anyone have any ideas about what may be happening?


[https://online.midwestern.edu/images/MaskUp.gif]

.. ..

Reply via email to