$index = 0; while($raw_data_Actual[$index] ne "" or $raw_data_Expected[$index] ne +""){ if($raw_data_Actual[$index] ne $raw_data_Expected[$index]){ print"Fail: $raw_data_Expected[$index]"; last; $index++; }
This just one of the solution. There is always more than one way to solve a problem.
In reply to Re: Comparing two text files
by prashanth_hsn
in thread Comparing two text files
by ganilmohan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |