Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Redirect output of the system() command

by monsoon (Pilgrim)
on Jul 11, 2012 at 05:37 UTC ( [id://981016]=note: print w/replies, xml ) Need Help??


in reply to Re: Redirect output of the system() command
in thread Redirect output of the system() command

'system' takes a list. @options gives it that list in exactly the order that was specified by 'qw'. Space separated items can be combined into a single string or can be standalone list items. Now how would in this case the positional parameters end up in the wrong place?
  • Comment on Re^2: Redirect output of the system() command

Replies are listed 'Best First'.
Re^3: Redirect output of the system() command
by NetWallah (Canon) on Jul 11, 2012 at 22:43 UTC
    See Your Mother's comments below.

    I wasn't clear in my previous node - what I meant by "wrong place" was that multiple spaces would be collapsed in a quoted string. (or maybe I'm making that up now - can't remember what I was thinking).

                 I hope life isn't a big joke, because I don't get it.
                       -SNL

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-16 18:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found