I imagine you don't want to delete duplicate lines, you want to avoid creating them. As you walk through your spreadsheet, create an XML line only if the current line hasn't already been seen; and then hash the current line so it won't be duplicated. Something like:
my %seen; for my $thing ($worksheet->...) { next if exists $seen{$thing}; # create XML element $seen{$thing}++; }
In reply to Re: delete duplicated xml lines
by hbm
in thread delete duplicated xml lines
by cibiena
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |