Re: system and list of arguments

2007-02-21 Thread Dr.Ruud
Mathew Snyder schreef: > system("shredder","--force","--plugin" > "Tickets=arg1,desc;arg2,desc;arg3,desc") Alternative: system qw/shredder --force --plugin/ , q/Tickets=arg1,desc;arg2,desc;arg3,desc/; Variant: { no warnings q/qw/; system qw/shredder --force --plugin Tickets=arg

Re: system and list of arguments

2007-02-20 Thread Mathew Snyder
Tom Phoenix wrote: > On 2/20/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: > >> shredder --force --plugin 'Tickets=arg1,desc;arg2,desc;arg3,desc' >> >> I can see that the system call would look like >> system("shredder","--force","--plugin" >> for the first section there, however, would the last pa

Re: system and list of arguments

2007-02-20 Thread Tom Phoenix
On 2/20/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: shredder --force --plugin 'Tickets=arg1,desc;arg2,desc;arg3,desc' I can see that the system call would look like system("shredder","--force","--plugin" for the first section there, however, would the last part be "\'Tickets==arg1,desc;arg2,de

system and list of arguments

2007-02-20 Thread Mathew Snyder
I have a script that uses 'system' to call an external command that has a long list of arguments. I understand that I can use 'system' with a list of parameters and arguments the first being the command to call and the following to be the arguments for the command. I'm wondering though, what I sh