I have to admit I don't much like any method Jacob mentioned, or anything else I can think of (sed ...) to munge core source files.
I don't know about the past, but I've never knowingly ignored a Perl warning that's been reported or that I've seen. Going to these lengths to have fatal warnings in development seems like a cure worse than the disease to me. FWIW ... -k