You can also do grep { lc $_ eq lc $input }
-- David Serrano
In reply to Re: GREP case insensitivity by Hue-Bond in thread GREP case insensitivity by italiansauce88