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.
In Section
Seekers of Perl Wisdom