rkac has asked for the wisdom of the Perl Monks concerning the following question:
#(This section uses String::Similarity) <while ($items = $sth->fetchrow_hashref) { $foundblock = $items->{'Block'}; $founditem=$items->{'itemID'}; $similarity = similarity $foundblock,$block); #checking for duplicate blocks select(undef,undef,undef,0.005); if ($similarity*100 > 85) { #duplicate found $duplicate = 1; last; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Is a hash faster?
by myocom (Deacon) on Oct 07, 2000 at 03:29 UTC | |
by Adam (Vicar) on Oct 08, 2000 at 23:29 UTC | |
|
Re: Is a hash faster?
by chromatic (Archbishop) on Oct 07, 2000 at 06:06 UTC | |
|
Re: Is a hash faster?
by AgentM (Curate) on Oct 07, 2000 at 05:28 UTC | |
|
Re: Is a hash faster?
by rkac (Novice) on Oct 07, 2000 at 03:47 UTC |