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 } }
In reply to Re^3: objects and duplicates
by pc88mxer
in thread objects and duplicates
by lkperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |