in reply to run a perl script for all files in a folder
Wrapping one perl script in another perl script just to loop through files tends to look like overkill to me. Just use the shell:
$ for i in folder/* ; do perl addclause.pl <$i; done
Aaron B.
Available for small or large Perl jobs; see my home node.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: run a perl script for all files in a folder
by lakssreedhar (Acolyte) on Aug 08, 2012 at 05:45 UTC | |
by lakssreedhar (Acolyte) on Aug 08, 2012 at 05:49 UTC |