in reply to RegExps that are only partly case-insensitive

what about:
print OK if lc($var)="/bin";
?
/Maqs.