in reply to Using file::find and file::find::rule inthe same perl script is giving a warning

I don't know about file::find and file::find::rule, but both File::Find, File::Find::Rule export find by default.

You can simply avoid importing find from one or both of the modules (e.g. use File::Find::Rule ();), using the fully qualified name for the function if necessary (e.g. File::Find::find(...);)