Re: change directory help in perl

2007-06-21 Thread Jeff Pang
Sayed, Irfan (Irfan) 写道: Hi , I have written following script. Problem with the script is that it is not changing the directory as per the foreach loop and because of that cleartool command is failing. can somebody please help. Here is the script. #!/usr/bin/perl -w @arr = `cleartool lsvo

change directory help in perl

2007-06-21 Thread Sayed, Irfan (Irfan)
Hi , I have written following script. Problem with the script is that it is not changing the directory as per the foreach loop and because of that cleartool command is failing. can somebody please help. Here is the script. #!/usr/bin/perl -w @arr = `cleartool lsvob -s`; foreach(@arr) { `cd