> chdir("/oracle"); -- for changing the dir to Oracle
> "source ora_INST" -- for pointing the OPS$accnt to
> database INST
>
> how can I run these unix commands in a perl program?
>
> Any kind of help is Appreciated!
You don't want to run an external command:
perldoc -f chdir;
either (a) dot the shell setup before starting perl
or (b) set the environment up using %ENV or (c) use
system( ". ora_INST; other commands here" ) to set
the environment up for the commands.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582