in reply to Re^4: More Misleading Compiler Error Messagesin thread More Misleading Compiler Error Messages
The single statement $s+1 = shift . '!'; causes both a warning and an error usefully. That's the usual case.