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 should do if
one of the arguments has parameters of its own.

Suppose I call a command called shredder.  With all of the arguments I need it
looks like this

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,desc;arg3,desc\'")
or would I have to break those down into separate arguments?

Mathew

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to