You could try the POSIX::access function.
In reply to Re: file test operators and acl by ambrus in thread file test operators and acl by notwitch