Use this module to check whether a filehandle is readable, writable, or
readable/writable.

WWW: http://search.cpan.org/dist/FileHandle-Fmode/