I have to read a huge data base of xml files, using XML::Simple.
my $xml = XMLin("${file}", ForceArray => 1, KeyAttr => {});
the problem is that some of those xml are corrupted and I would like my program to delete those and keep running. I have not been able to find any way to catch the error comming from XMLin
parser error : Start tag expected '<' not found
Any idea ?