http://www.perlmonks.org?node_id=31283


in reply to RegExps that are only partly case-insensitive

what about:
print OK if lc($var)="/bin";
Update: seems i didnt understand the question really :) Forget that answer

/Maqs.