my $string = qq[<th width="200px">KPI</th><th width="100px">Type</th><
+th width="75px">Data Type</th>];
my @result = split('>',$string);
print "Check :",$#result,"\n";
When I execute the above code I am able get the expected result (i,e) The split with '>' is working as expected.
But If I store the below into a file and through file read if I apply the split it is not working as expected.
<th width="200px">KPI</th><th width="100px">Type</th><th width="75px">
I have no clue what is happening. could any one explain me ?