I think the Perl interpreter needs to be able to read the contents of the file, so chmod 711 won't work for programs interpreted at run-time. You could go suid, chmod 4111, but that is ALL to dangerous. A safer solution would be something like Solaris RBAC (Role Based Access Control), or BSD MAC (Mandatory Access Control).