Hi, I am trying to count the number of lines in my output file processed by a perl code.
I am not getting the syntax correct. I am doing something like below:- my $count1 = `wc -l < $OUT_FILE` ; print $LOG_FILE "Count of cdrs after removing duplicates = $count1" ; I am getting the following error: [EMAIL PROTECTED] files]$ sh: -c: line 0: syntax error near unexpected token `(' sh: -c: line 0: `wc -l < GLOB(0x88f76d8)' sh: -c: line 0: syntax error near unexpected token `(' sh: -c: line 0: `wc -l < GLOB(0x88f76d8)' Plz advice, Thanks, Mihir