On Thu, May 9, 2013 at 4:11 PM, Shlomi Fish wrote: > > These failures should not be happening, and they are likely caused by old > versions of libxml2 and/or libxslt. Now, one option would be to require > only > the latest version in XML::LibXML and XML::LibXSLT, but this may > inconvenience > some users of older systems. > > Is there a better alternative? >
So... you want to use some features that new versions libxml2 have, but want XML::LibXML support any version of libxml2. How about making a middle-man module, XML::LibXML::SupportsFancyFeature, that will refuse to install for old libxml installation? Then you module can depend on it. Shmuel.