Read the contents of "data.txt" in an array and run a loop on the array as step#1. This way you have all the directory names with you in the array, at the step #3. Run step #3 and #4 for all the names in array instead of just "modem"
In reply to Re^3: Help regarding an alogrithm
by samarzone
in thread Help regarding an alogrithm
by perl_mystery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |