Re: adding path to $PATH

2003-12-10 Thread drieux
On Dec 10, 2003, at 3:06 PM, drieux wrote: On Dec 9, 2003, at 10:09 PM, Pablo Cusnir wrote: Is there a way using Perl to add to the environment variable PATH a new path, and that addition will be valid after the script is ran and not only for the script's scope. I'm working in cshell in Solaris 5.

RE: adding path to $PATH

2003-12-10 Thread Tom Kinzer
in korn it would be: export PATH=$(add_path):$PATH -Original Message- From: Robert Brown [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 3:20 PM To: drieux Cc: Perl Perl Subject: Re: adding path to $PATH drieux writes: > > On Dec 9, 2003, at 10:09 PM, Pablo

Re: adding path to $PATH

2003-12-10 Thread Robert Brown
drieux writes: > > On Dec 9, 2003, at 10:09 PM, Pablo Cusnir wrote: > > > Is there a way using Perl to add to the environment > > variable PATH a new path, and that addition will be > > valid after the script is ran and not only for the script's scope. > > I'm working in cshell in Solaris

Re: adding path to $PATH

2003-12-10 Thread drieux
On Dec 9, 2003, at 10:09 PM, Pablo Cusnir wrote: Is there a way using Perl to add to the environment variable PATH a new path, and that addition will be valid after the script is ran and not only for the script's scope. I'm working in cshell in Solaris 5.8 let me see IF I get your idea. I have a

Re: adding path to $PATH

2003-12-10 Thread Dan Anderson
On Wed, 2003-12-10 at 01:09, Pablo Cusnir wrote: > Hi, > > Is there a way using Perl to add to the environment variable PATH a new path, and > that addition will be valid after the script is ran and not only for the script's > scope. > I'm working in cshell in Solaris 5.8 > The regular way to d

Re: adding path to $PATH

2003-12-10 Thread Helgi Briem
Pablo Cusnir wrote: > Hi, > > Is there a way using Perl to add to the environment variable PATH a > new path, and that addition will be valid after the script is ran and > not only for the script's scope. > I'm working in cshell in Solaris 5.8 > The regular way to do it in the shell is: Yours i

adding path to $PATH

2003-12-10 Thread Pablo Cusnir
Hi, Is there a way using Perl to add to the environment variable PATH a new path, and that addition will be valid after the script is ran and not only for the script's scope. I'm working in cshell in Solaris 5.8 The regular way to do it in the shell is: > setenv PATH my_add_path:$PATH I tried