in reply to Re^2: Passing commands to subroutines
in thread Passing commands to subroutines
Your whole reason to use the multiple argument version of system was to avoid having the your arguments treated as anything but literal text.
And now you're asking why it doesn't work when the code does exactly that.
If you want redirection, you'll either have to build a shell command or do it yourself (IPC::Run, IPC::Run3, IPC::Open2, IPC::Open3, etc.)
|
---|