Think about Loose Coupling | |
PerlMonks |
Cannot find input arguments to program called with "system"by pktrain (Acolyte) |
on Jul 06, 2011 at 05:52 UTC ( [id://912913]=perlquestion: print w/replies, xml ) | Need Help?? |
pktrain has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I'm writing a Perl script to run an external program on every file in a directory. This program converts files from one format to another. Here's the deal... When I run the program from the command line, everything works as it should:
Here's the code I wrote to convert all files in a directory (listed in "file_list.txt"):
The output shows me the following error for every file in the list:
I verified every file is in the proper place and have no idea why I am getting this error. Your advice is greatly appreciated!
Back to
Seekers of Perl Wisdom
|
|