in reply to Executing an app and returning output in a regex.

The structure of your substitution worked fine for me; when I changed sabcmd to echo and set some values for the variables, I got back the results of `echo ...` in $_, as expected.

Could you provide some more details about what happens when you run your program?

  • Comment on Re: Executing an app and returning output in a regex.