http://www.perlmonks.org?node_id=636889

gopalr has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I am using Unix and the following command successfully run in command prompt. But when we embed in CGI, the results is not found. ie. array is not getting any values

$cdsCmd="/opt/totalnet/sbin/ldapsearch uid=USERID -h ldaps://xxx.c om:636 -D xxxGID=xxxxx, ou=Employee,ou=People,o=Company,c=US -w PASSWD + ARGUMENTS"; @cdsValues = `$cdsCmd`; print @cdsValues;

Please guide me in this regard

Thanks in Adavnce