Set up env variables on Linux

2007-06-13 Thread [EMAIL PROTECTED]
Hi All, I'm pretty new to Perl. I was trying to write up a perl script that can help set up my working env, for example, once log into Linux server, run the perl script, it'll move to another folder and configure some env variables. I tried using `cd dest_folder` or system

Re: Set up env variables on Linux

2007-06-13 Thread Madan Kumar Nath
Hello, "cd" does not work as expected in perl. use chdir instead and it will do what u want . ex : chdir "dest_folder" # go to directory system("ls ") # do what u want. chdir "orignal_folder" # come back to orignal dir Thanx Madan [EMAIL PROTECTED] wrote: Hi All, I'm pretty new

Re: Set up env variables on Linux

2007-06-13 Thread Mumia W.
On 06/13/2007 12:26 AM, [EMAIL PROTECTED] wrote: Hi All, I'm pretty new to Perl. I was trying to write up a perl script that can help set up my working env, for example, once log into Linux server, run the perl script, it'll move to another folder and configure some env variables. I tried

Re: Set up env variables on Linux

2007-06-13 Thread Dean
On Jun 13, 6:26 am, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi All, I'm pretty new to Perl. I was trying to write up a perl script that can help set up my working env, for example, once log into Linux server, run the perl script, it'll move to another folder and configure some env

Re: Set up env variables on Linux

2007-06-13 Thread Paul Lalli
On Jun 13, 1:26 am, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: I'm pretty new to Perl. I was trying to write up a perl script that can help set up my working env, for example, once log into Linux server, run the perl script, it'll move to another folder and configure some env variables. I