>> $c = grep {/[osx]/i} @_;
>>
>> Is there a better way?
>
> To do... what?

Sorry -

Given:

$_ = "Mac OS X";

split //;
$c = grep {/[osx]/i} @_;

print "Found $c things\n";

HTH/Sx  :]

Reply via email to