in reply to Re^6: Repurposing reverse
in thread How to reverse a (Unicode) string
So we're in agreement, the documentation for reverse needs to be updated to clarify what it does, right?
- perlunicode
- And finally, scalar reverse() reverses by character rather than by byte.
- perldoc -f reverse
- In scalar context, concatenates the elements of LIST and returns a string value with all characters in the opposite order.
In Section
Tutorials