in reply to How can I run an folder full of text files through a perl script?
Karl-Mac-mini:find karl$ find . -type f -name "*.txt" | xargs ./perl.p +l bar foo
Update: or find . -type f -name "*.txt" -exec ./perl.pl {} \;
Update: For xargs vs exec see: 1 2 3
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In Section
Seekers of Perl Wisdom