|
|
| Think about Loose Coupling | |
| PerlMonks |
(MeowChow) Re: case insensitive: Which tree to bark up?by MeowChow (Vicar) |
| on May 27, 2002 at 02:59 UTC ( #169466=note: print w/ replies, xml ) | Need Help?? |
|
if (lc($ref->{prodname}) eq lc($value)) ... unless you actually need to do a partial match, for which case: if ($ref->{prodname} =~ /\Q$value/i) ... MeowChow s aamecha.s a..a\u$&owag.print
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||