in reply to problems returning from recursive subroutine

If the directory did indeed have some uppercase letters than this call: lc_filenames("$dir/$file"); would process a nonexisting directory (it is after you renamed the "$dir/$file").

Replies are listed 'Best First'.
Re: Re: problems returning from recursive subroutine
by melguin (Pilgrim) on Apr 18, 2003 at 08:11 UTC
    Wouldn't the line above it:
    $file = $newname;
    solve that by making $file (which in this case is a directory) the lowercase version? Or perhaps there's something else I'm not seeing.
      Ah - sorry!