It seems that Perl doesn't pick up env variables (on UNIX) automatically. the code below contain only a portion of the program and calls so many env variables. so instead of using %ENV and call each env variable. I wanted to use source to grab all my env. vars at once.
I hope I am a little clear. Thanks "Brett W. McCoy" <[EMAIL PROTECTED]> wrote: >On Thu, 8 Nov 2001 [EMAIL PROTECTED] wrote: > >> Is there a nice and neat way of writing this: >> #!/bin/perl >> $command1 = "/bin/csh"; >> $command2 = "source /usr/users/.cshrc"; >> system "command1"; >> system "command2"; > >What are you trying to accomplish? > >-- Brett > http://www.chapelperilous.net/ >------------------------------------------------------------------------ >This fortune intentionally left blank. > > __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]