in reply to Re: Recursive sub efficiency
in thread Recursive sub efficiency

Man thats quick, ive just run it on a directory with 205 sub folders and its a lot faster than Perl.

However I wanted to brush up on my Perl skills (or lack there of)

Replies are listed 'Best First'.
Re^3: Recursive sub efficiency
by JavaFan (Canon) on Jun 10, 2010 at 21:16 UTC
    But you asked to make it more efficient. And calling other programs is very Perlish. Larry didn't call Perl a "glue language" without having a reason. Code reuse is a good thing, and code reuse doesn't stop at Perl code. IMO, a programmer who opts for a Perl solution for the sake of having a Perl solution is still at the newbie stage. system is a very important tool in the Perl toolkit.
      I fully agree with you, ive used system calls to run other apps and it works great when needed. However, as I said this was purely for brushing up my knowledge base, and to see what kind of steps I can use to futher that knowlege.