in reply to Re^2: Obtaining a list of files in a directory and subdirectory.
in thread Obtaining a list of files in a directory and subdirectory.

That warning (not an error) is thrown when you overwrite an existing subroutine, in this case you have two subroutines in your main package called "find". The File::Find::Rule module exports a subroutine named "find", so I'm guessing you've defined one as well in your code.
  • Comment on Re^3: Obtaining a list of files in a directory and subdirectory.

Replies are listed 'Best First'.
Re^4: Obtaining a list of files in a directory and subdirectory.
by Karger78 (Beadle) on Oct 16, 2009 at 15:07 UTC
    Ahh ok. Thanks. Would i still use file::find even if I just want to find a directory? Or is there a different module i need to use like directory::find?