I have a script which parses a series of XML files. Some the files have shown to have XML syntax issues, or even be blank all together.
Is there a way to capture the error output of XMLin() -- from XML::Simple -- to provide better error messages or to even completely kill the script if a certain case were to appear.