in reply to Using File::Find from a function.

My requirement is to expose a perl function from our product to the users(other developers using our product) to find whether a file is present in a particular directory.

That can be accomplished using -e operator (perldoc -f -e), it doesn't sound like a use case for File::Find at all

Replies are listed 'Best First'.
Re^2: Using File::Find from a function.
by balajinagaraju (Sexton) on Mar 19, 2013 at 09:13 UTC

    Hi, Thanks for your suggestions , using -e works fine.