http://www.perlmonks.org?node_id=1025164


in reply to reverse a string in place

When you ask the Monks to do your homework, it's well to make note of that fact in your initial post.

Otherwise, someone with a spark of evil might just post code to do the job with such sophistication that your instructor will immediately know you've been cheating.

If you didn't program your executable by toggling in binary, it wasn't really programming!