in reply to Re^6: delete duplicated xml lines
in thread delete duplicated xml lines

Please provide the full error message, including line number; and the offending line of code.

I'm guessing that your hash is not globally scoped; or you've tried something like %seen{$entry}, which should be $seen{$entry}.