A technique that I typically use when I need to run a system command (with system(), backticks, or Capture::Tiny) is to build up the command and store it in a variable. Then I can print out that variable to make sure that I have the command exactly the way that I need/want it to be. That helps me to catch issues with incorrect interpolation due to my mistakes.
The side effect of this technique is that the executing the command becomes very simple - i.e. system($cmd);
In reply to Re: Using system to run exe on Windows and pass it variables
by dasgar
in thread Using system to run exe on Windows and pass it variables
by trmn8tr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |