Fowler, Terry R wrote:

> Paul:
> 
>>>if ($x eq 'a' or $x eq 'b' or $x eq 'c or $x eq 'd' or $x eq 'e') {
> 
> 
> $Bill:
> 
>>if ($x =~ /^[abcde]$/) {
> 
> 
> Oh pooh. I almost got to answer a question but I hesitated to hit
> the Send button. I was going to suggest /[a-e]/; would that be 
> wrong if I knew I was looking for abcde?

Sounds good - why are you asking me - can't you type that into vim and run it ?

-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to