in reply to xpath.pm depreciated?

In addition to swl's comment, even without looking at the XML::XPath source (note that the P is uppercase in the real module) I would expect the authors of that module to be able to use the correct word which is "deprecated" and not "depreciated". Further, it expects the string 'this service is depreciated as of 1/15/2020' to be a filename to be opened, rather than intending it to be a message to you. The message to you is that it cannot open the file.

Without an SSCCE and a statement of which version of XML::XPath you are using there's not much more to be said.