I have an Oracle "framework" that I am rewriting in Perl so it will be more portable. I am pretty new to Perl (couple of months) and I didn't realize that I couldn't "source" a Perl script like I can with the Korn shell scripts.
Looks like I will have to leave this piece as is Thanks for your help everyone. -----Original Message----- From: Kipp, James [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 9:15 AM To: 'Steve Main'; perl beginners Subject: RE: persisting environment variables > It's a utility that allows users to change their Oracle environments, > so when they logon they can run the utility and select an Oracle > environment to set (ORACLE_SID, ORACLE_HOME, etc). It also allows > them to change environments, say going from DEV to TEST. I > have a Korn > shell > script that does this but I was trying to rewrite it in Perl. > > Working on Solaris. I work on Solaris as well. If you allow your users to have their own .profile or other env config file, you could have the perl script directly edit that file then source it. if the Korn script is working well, why change it? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]