Good point in fact Oracle (for example) recommends setting the environment before you even install Oracle. To do it any other way invites trouble and as Oracle would say, you're on your own :-)
> jason corbett wrote: > > How does one go about assuring that the environment variables are > > properly set in perl? I read several books, but none go in depth > > about how to write a script that includes all the required variables, > > that way nothing gets left out. > > It's really not a Perl issue per se. I assume you're talking about variables > used by Oracle libraries, like ORACLE_HOME and ORACLE_SID. > > I advise you to *not* attempt to set or monkey with these variables inside > the Perl script. The whole point of environment variables is so the user can > establish his environment *before* invoking your script. > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>