I need to open a second file using the XML::XPATH library but the documation at CPAN says
"It is very much recommended that you use only 1 XPath object throughout the life of your application. This is because the object (and it's sub-objects) maintain certain bits of state information that will be useful (such as XPath variables) to later calls to find()."
How to I close the first file and open a second, they are both in the same scope ?
Note I am using
$xp = XML::XPath->new(filename => $dirname.'/'.$file);
to open the file
- C