in reply to sqlplus hide password
Use DBI instead of forking sqlplus.
Not that it might not solve the OP's problem, but it's hardly the same thing.
But if sqlplus' features aren't necessary, there is also DBI::Shell which is pretty nice.
/J
sometimes pointing people in the general direction of a solution is better than just giving them the solution ... sometimes