We have the following situation.
To avoid hardcoding of Oracle Passwords in our perl scripts, our DBAs have made a password file available on our application server as user "secure" (/home/secure/orapwd/password.txt). No one has access to this file apart from user "secure". On the other hand the perl scripts run as user "ora". What we require is for user "ora" to access the password file and retrieve the appropriate oracle password, and pass the password to the database handler to connect to the database.
Any ideas and how we can solve this problem. setuid scripts is an option, but as usual we need to be cautious