Hi, I think you don't run the script under perl
try: perl <your script name> Any way, if you are using Unix system, look at your script and figure if the first line have the shbang "#!/usr/bin/perl" Yaron Kahanovitch ----- Original Message ----- From: "Irfan Sayed (Irfan)" <[EMAIL 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_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 per my understanding, double quotes inside the qx is causing the prob. Please guide how to resolve this. Regards Irfan. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/