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

Thankyou very much for your help hbm!!! I try your duplication solution but give me a error: "exists argument is not a HASH or ARRAY element or a subroutine" Perl is too much difficult for me :(

Replies are listed 'Best First'.
Re^7: delete duplicated xml lines
by hbm (Hermit) on Aug 12, 2012 at 23:45 UTC

    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}.