What's so hard about showing us the code you tried? It does work with system or qx/backtics, if you do it right. If it didn't work, you didn't do it right. But we can't know what you did wrong if you don't show us what you've tried.
Comment on Re^5: commands with multiple pipes in perl