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"
----- Original Message -----
From: "Irfan Sayed (Irfan)" <isayed@xxxxxxxxx>
Sent: Wednesday, October 24, 2007 8:03:03 AM (GMT+0200) Asia/Jerusalem
Subject: qx string
I am executing following line in my perl script.
chomp(@files = qx("cleartool desc -fmt "%[versions]p\n"
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
Please guide how to resolve this.