substr no longer works in [+ tags +]?

2021-03-15 Thread Kaiser, Matthew
Hello all, After being a lurker for years, I have a question for y'all. We just tested a server running Perl 5.30 with Embperl 2.5.0 and we're getting a weird behavior. The embperl code: [+ substr('ABCD',2,2) +] no longer prints anything from within the .epl files. The phrase: [- $str = substr

RE: substr Not Working

2021-03-15 Thread Kaiser, Matthew
Which version of Embperl are we running? http://www.cpantesters.org/distro/E/Embperl.html Best Regards Matthew Kaiser - IT Department 630-515-6138 HelpDesk: (630)-515-7361 - Illinois (623)-572-3388 - Arizona From: Kaiser, Matthew Sent: Monday, March 15, 2021 1:41 PM To: Rubinstein, James ; em

RE: substr Not Working

2021-03-15 Thread Kaiser, Matthew
Is this 10.4.1.65? it's not affecting RMS. BZ saw this occurring with a payment form on .65 Best Regards Matthew Kaiser - IT Department 630-515-6138 HelpDesk: (630)-515-7361 - Illinois (623)-572-3388 - Arizona From: Rubinstein, James Sent: Monday, March 15, 2021 1:33 PM To: embperl@perl.apach

substr Not Working

2021-03-15 Thread Rubinstein, James
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 b