in reply to Code Efficiency

You could lose one if structure (testing for html in last foreach loop) there by using grep in readdir.
# instead of # @SUBDirList = readdir(SUBDIR); @SUBDirList = grep {/html$/} readdir (SUBDIR);
Don't know how much speed it gives though :).

Replies are listed 'Best First'.
Re: Re: Code Efficiency
by fourmi (Scribe) on Mar 25, 2004 at 13:03 UTC
    I'll take anything that goes, thanks a lot, also applicable in the other regexp if, less involved there, only 11 recursions, but all the same!!
    cheers!