in reply to how to compare the 2 large xml file wiith minimun runtime??

short question, shorter answer:
XML::Twig with handlers and flush, populate an %hash, same thing for second file, then play with hashes.

hth L*
there are no rules, there are no thumbs..