in reply to Re^2: objects and duplicates
in thread objects and duplicates
Note: if a string is duplicated, the first Entry object with that src value will not have its duplicate flag set but all matching Entry objects will.my %count; for my $record (@records) { if ($count{$record->src}++) { $record->duplicate(1); # or however you set the duplicate flag } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: objects and duplicates
by lkperl (Initiate) on Apr 27, 2008 at 19:19 UTC | |
by pc88mxer (Vicar) on Apr 27, 2008 at 19:50 UTC |