in reply to Case in regular expressions

Use the /i modifier.
$var =~ /PaTtErN/i;

- Tom