# instead of use XML::XSLT; ... unshift @INC, "/path/to/new/version"; require XML::XSLT;