Not sure what your difficulty is, but here are some thoughts:
- Try specifying the absolute path to sabcmd: /usr/bin/sabcmd or something similar.
- I assume you realize that \\$xsl is escaping the escape and therefore interpolating $xsl.
- Have you tried printing $boilervalues{'XSLTPath'}, $xsl, and $xml to verify that they are getting values?
- Try print the results of `sabcmd $boilervalues{'XSLTPath'}\\$xsl $xml` to verify that it is returning something. Even if it is fine, it may be a problem with the regex itself failing to match.
- Have you verified that the target text is really there? Try printing that out, too.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.