#!/bin/sh ORACLE_HOME=/path/to/oracle ORACLE_SID=testdb perl /path/to/script.pl