[tpm] Replace a string with the result of shell command
antoniosun at lavabit.com
Sat Jan 9 09:52:36 PST 2010
Here is the simplified example of what I want to do:
DB<1> $v = 'AAabcDDabc'
DB<2> $v = m/abc/`echo $& | rev`/g
Backticks found where operator expected . . .
Please don't take it literally, and argue that shell invoking is not
necessary -- I want to replace a certain string with the result of shell
command, and pass the matched string to the shell command as well.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the toronto-pm