in reply to Match upper and lower case
Use the /i flag for case-insensitive match.
if (/error/i) { #. . . } [download]
my $erre = qr/error/i; $str =~ $erre snd # . . . [download]
After Compline,Zaxo