If you want perl 5 code that translates properly, try avoiding the following things (keeping in mind that this is a
paranoid list and may well be overcautious)
- Typeglobs (maybe)
- Odd syntactic corner cases (Like some of the JAPHish things)
- Version specific behavior (hash ordering)
- Numeric size assumptions (32-bit ints, # of bits in a float mantissa)
- Low-level interfaces (like the raw source filter interface, not what Filter::Simple provides)
- Ordering of operations at undefined points (like when $foo = $i++ + $i++ increments $i)
There are probably other areas that things'll be different, but those are the biggies.
XS code, of course, is in for a rougher time, but that's a separate issue. And it may turn out that these warnings are at least in part overly paranoid.