Hi,
I am trying to execute find command using perl but every time i am getting the below error :
find: incomplete statement
#!/opt/Interwoven/TeamSite/iw-perl/bin/iwperl
use TeamSite::CGI_lite;
use TeamSite::Config;
use TeamSite:

CRnode;
use TeamSite:

CRparser;
use XML:

OM;
my $result = "/tmp/test.txt";
my $test="12345";
#my $command = "find / -type f -name "*" -exec grep -l $test {} \;";
#my $temp = "find / -type f -name "*" -exec grep -l $test {} \;";
#my $results = system ($temp > $result");
#my $resulted =`$command` > $result ;
#print "$resulted";
`find / -type f -name "*" -exec grep -l $test {} \; > $result`;
cant understand why it says that as when i am running onthe cmd line it works i.e find / -type f -name "*" -exec grep -l $test {} \;