in reply to Match upper and lower case

Hi,

use 'i' for ignore case.

if ($_=~m#error#i) { .. ## It'll match whole 'error' }