For future reference, Perl has a LARGE amount of documentation. Instead of asking "is this function appropiate", why don't you *read* the documentation for the function and decide for your self, rather than coming all the way here to ask a question that could have been answered after 10 seconds of work.
perldoc -f stat
perldoc.com
cpan.org