in reply to Re: Perl/UNIX permissions/env
in thread Perl/UNIX permissions/env

Something else would be to set $ENV{ORACLE_HOME} within the script itself. Although I'm not sure if this is always a good idea to do (I recall seeing some warnings about doing this).

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