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:
my $sabcmd = `sabcmd $boilervalues{'XSLTPath'}\\$xsl $xml`; print "SABCMD: $sabcmd\n"; $_ =~ s/<!--PERLINSERT:transformXML-->/$sabcmd/gi;

Replies are listed 'Best First'.
Re: Re: Executing an app and returning output in a regex.
by Gibble (Novice) on Dec 07, 2000 at 02:22 UTC
    Well that works! Of course I was wondering why I had all the extra output until I noticed the print "SABCMD..." line :) Tx for the help!!! I am still wondering why it didn't work in the regex though?