Re: qx string

2007-10-27 Thread John W . Krahn
On Wednesday 24 October 2007 10:04, Chas. Owens wrote: > On 10/24/07, Sayed, Irfan (Irfan) <[EMAIL PROTECTED]> wrote: > snip > > > chomp(@files = qx("cleartool desc -fmt "%[versions]p\n" > > activity:$ENV{"CLEARCASE_ACTIVITY"}")); > > snip > > Your problem is the outer quotes. They don't belong th

Re: qx string

2007-10-24 Thread yaron
Hi, Sorry my mistake its not a shbang problem... Yaron - Original Message - From: [EMAIL PROTECTED] To: "Irfan Sayed (Irfan)" <[EMAIL PROTECTED]> Cc: beginners@perl.org Sent: Wednesday, October 24, 2007 7:06:47 PM (GMT+0200) Asia/Jerusalem Subject: Re: qx string Hi, I

Re: qx string

2007-10-24 Thread yaron
IL PROTECTED]> To: beginners@perl.org Sent: Wednesday, October 24, 2007 8:03:03 AM (GMT+0200) Asia/Jerusalem Subject: qx string Hi All, I am executing following line in my perl script. chomp(@files = qx("cleartool desc -fmt "%[versions]p\n" activity:$ENV{"CLEARCASE_ACTIV

Re: qx string

2007-10-24 Thread Chas. Owens
On 10/24/07, Sayed, Irfan (Irfan) <[EMAIL PROTECTED]> wrote: snip > chomp(@files = qx("cleartool desc -fmt "%[versions]p\n" > activity:$ENV{"CLEARCASE_ACTIVITY"}")); snip Your problem is the outer quotes. They don't belong there. You are telling the shell to run the file named "cleartool desc -

qx string

2007-10-24 Thread Sayed, Irfan (Irfan)
Hi All, I am executing following line in my perl script. chomp(@files = qx("cleartool desc -fmt "%[versions]p\n" activity:$ENV{"CLEARCASE_ACTIVITY"}")); But i am getting following error when i execute the script. sh: cleartool desc -fmt %[versions]p: not found sh: activity:: not found As

Re: qx string

2007-10-24 Thread Paul
On Wed, October 24, 2007 6:12 am, Sayed, Irfan (Irfan) wrote: > Hi All, > > I am executing following line in my perl script. > > chomp(@files = qx("cleartool desc -fmt "%[versions]p\n" > activity:$ENV{"CLEARCASE_ACTIVITY"}")); > > But i am getting following error when i execute the script. > > sh:

Re: qx string

2007-10-24 Thread Matthew Whipple
Sayed, Irfan (Irfan) wrote: > Hi All, > > I am executing following line in my perl script. > > chomp(@files = qx("cleartool desc -fmt "%[versions]p\n" > activity:$ENV{"CLEARCASE_ACTIVITY"}")); > > But i am getting following error when i execute the script. > > sh: cleartool desc -fmt %[vers

qx string

2007-10-24 Thread Sayed, Irfan (Irfan)
Hi All, I am executing following line in my perl script. chomp(@files = qx("cleartool desc -fmt "%[versions]p\n" activity:$ENV{"CLEARCASE_ACTIVITY"}")); But i am getting following error when i execute the script. sh: cleartool desc -fmt %[versions]p: not found sh: activity:: not found As