in reply to PATH is not setting - PERL

Some packages (not sure about Oracle) don't like the trailing '/', that might be the problem.
Alternatively, take a look at Env::C.