Do you know where your variables are? | |
PerlMonks |
Re^3: Passing commands to subroutinesby ikegami (Patriarch) |
on Jul 01, 2009 at 18:45 UTC ( [id://776537]=note: print w/replies, xml ) | Need Help?? |
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.)
In Section
Seekers of Perl Wisdom
|
|