|
|
| Just another Perl shrine | |
| PerlMonks |
RE: Re: Useless Programby lhoward (Vicar) |
| on Jun 01, 2000 at 13:16 UTC ( [id://15803]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
One problem with this code is if you're adding a name that is the
prefix of a name already in the DB it will think that it is alrady there.
Try running this code and adding les after leslie has
already been added. Better to use eq instead of
a regular expression in your compare since you are looking
for an exact match. It will be faster too:
instead of
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||