http://qs321.pair.com?node_id=912919


in reply to Cannot find input arguments to program called with "system"

You should chomp $file. It otherwise contains a newline character at the end.