This isn't a core module, so you have to install it:
cpan XML::Diff or cpanm XML::Diff [download]
In reply to Re^3: XML file difference highlights by marto in thread XML file difference highlights by PiyaPerl