in reply to Modifying ENV variable of parent process

You can print expressions from your Perl script that, when eval'd in a shell script, change that shell's environment.

So if you're using ksh, you could make an alias or function in the .profile that looks something like this:

alias oraenv="eval \$(perl -e 'print \"export ORAstuff=\$\$\"')"
Of course, the quoting can get annoying.