These are the ones I'm aware of:
- The behaviour of a "my" statement modified with a statement modifier conditional or loop construct (e.g. "my $x if ...").
- Modifying a variable twice in the same statement, like $i = $i++;
- sort() in scalar context
- truncate(), when LENGTH is greater than the length of the file
- Using 32-bit integers, "1 << 32" is undefined. Shifting by a negative number of bits is also undefined.