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?

Terry Fowler

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to