You should chomp $file. It otherwise contains a newline character at the end.
In reply to Re: Cannot find input arguments to program called with "system"
by philipbailey
in thread Cannot find input arguments to program called with "system"
by pktrain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |