in reply to Oracle Timed Out error

The situation, as you've described it, is impossible. Both sqlplus and DBD::Oracle use the same interface to Oracle. Start looking for some differences in how you execute the commands.

If none of these give you a clue, try using a third tool (tnsping, toad, tora, etc.) to get another data point.