in reply to XML parser unable to open file
You note that the file exists, but is it readable?
An SSCCE would be useful.
And just in case, you are not specifying the exact string /path to file.xml as the path to the file are you?
In Section
Seekers of Perl Wisdom