Next | Program Repair Shop | 40 |
300 my $cmd = "find " . join (" ", @ARGV) . " -type f -print |";
I think I have a better suggestion here
Just let @ARGV be the list of files to process
If the user wants the find behavior, they easily do:
classify `find ... -type f -print`
Every module should do one thing well.
(Brian Kernighan)
find is really good at being find
classify doesn't have to be find also
Next | ![]() |
Copyright © 2006 M. J. Dominus |