#!/usr/bin/perl $ENV{ORACLE_HOME}='/path/to/oracle/home'; (rest of code)