in reply to Executing an app and returning output in a regex.
That code should work, if `sabcmd ...` is returning a value.
Try testing it by breaking that secion of code into two chunks:
Try testing it by breaking that secion of code into two chunks:
my $sabcmd = `sabcmd $boilervalues{'XSLTPath'}\\$xsl $xml`; print "SABCMD: $sabcmd\n"; $_ =~ s/<!--PERLINSERT:transformXML-->/$sabcmd/gi;
In Section
Seekers of Perl Wisdom