You already have all the pieces that you need:
If you're unsure on how to open the project.txt file instead of using the magic while(<>) that bart used, please see "Files and I/O" in perlintro.
Updated wording slightly.
In reply to Re^3: How to read the input directory from command line arguments using perl?
by haukex
in thread How to read the input directory from command line arguments using perl?
by finddata
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |