Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by monsoon (Pilgrim)
on Jul 11, 2012 at 05:37 UTC ( #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
Node Status?
node history
Node Type: note [id://981016]
help
Chatterbox?
choroba recommends Paludan BogCafe, if it still exists
[karlgoethebier]: choroba: This: https://www. paludan-cafe.dk ???
[karlgoethebier]: I get "You are using an outdated version of Internet Explorer. For a faster, safer browsing experienceUpgrade" Ouch! i got safari...
[karlgoethebier]: ...well, outdated

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-11-19 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (280 votes). Check out past polls.

    Notices?