The single statement $s+1 = shift . '!'; causes both a warning and an error usefully. That's the usual case.
In reply to Re^5: More Misleading Compiler Error Messages
by ikegami
in thread More Misleading Compiler Error Messages
by QM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |