perldoc -f system
You probably don't want to pass the arguments as two separate strings. The system() function will treat each argument as a separate argument to the executed program. If you are breaking it up to make your code more readable, try:
system("$CMD $arg1 $arg2");In reply to Re: problem with system function
by pfaut
in thread problem with system function
by perlknight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |