--- Jeff Pinyan <[EMAIL PROTECTED]> wrote:
> On May 18, Paul said:
> > @hits = grep /^$TEST1$/, @HOLDER;
> 
> Do not use a regular expression to check for equality.  It breaks far
> too often.
> 
>   @equal = grep $_ eq $wanted, @original;

agreed. Thanks again, Jeff.
In trying to keep it simple, I fell asleep. =o)
That's two now -- you'll make a programmer out of me yet! lol!

For everyone else -- I was thinking in too specific a context.
Assuming you know the data is usually a bad idea unless you *really*
know your data. Also, I AssUMed the author of the original question
knew less than he apparently does, and so knowingly glossed a few
things I *did* think of, trying not to babble (I've been told I confuse
people...~sigh~)



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to