in reply to Re: How do I reverse a string or the words in a string?
in thread How do I reverse a string or the words in a string?

You probably want to joint them with a space:

$reversestr=join ' ', @words;