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.
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
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 using
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