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 -fmt "

Since no file named that exists you get the error.  Your code should look like

chomp(@files = qx<cleartool desc -fmt "%[versions]p\n"
activity:$ENV{"CLEARCASE_ACTIVITY"}>);

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to