In my application, I use XML::Simple and use the exported XMLin() to parse XML files. Everything goes well until an invalid file path is used as the parameter for XMLin().
The application is terminated because XML::Simple used die() or some similar method when it was given an invalid file path.
I want my app to continue running even though XML::Simple met a fault. So what should I do?