in reply to Oracle DBD problem

Check these things:
  1. Are the environment variables for ORACLE_HOME set to the Oracle install directory and either LD_LIBRARY_PATH or LD_RUNPATH set to the Oracle library directory for your script's execution? You might see a line like:
    $ENV{ORACLE_HOME} = /whatever;
    in a script.
  2. If so can you run the interactive sql client?
      Ken