Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Passing commands to subroutines

by ikegami (Patriarch)
on Jul 01, 2009 at 18:45 UTC ( [id://776537]=note: print w/replies, xml ) Need Help??


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.)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://776537]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2026-04-13 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.