http://www.perlmonks.org?node_id=1030786


in reply to File::Find seems grossly inefficient for performing simple file tasks

The two command lines are pretty much the same size. And it is only the command line that you are seeing of the shell code.

If you were to look at the source code of the find command, it runa to several hundred lines.

Try comparing like with like, and do not confused length of source with efficiency.

(It can be a factor, especially in Perl, but not in this case.)


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: File::Find seems grossly inefficient for performing simple file tasks