in reply to Recursive renaming script

Pretty heady stuff for a beginner, and I like your usage block.

One thing jumps out at me. Rather than:

find sub { push @found, ... } for (reverse @found) {

Why not:

find sub { unshift @found, ... } for (@found) {

Replies are listed 'Best First'.
Re^2: Recursive renaming script
by amr noman (Initiate) on Dec 02, 2011 at 17:58 UTC

    Thanks, this saves a useless call to reverse and reads better. Updated the script.