P is for Practical | |
PerlMonks |
How do I reverse a string or the words in a string?by vroom (His Eminence) |
on Jan 26, 2000 at 01:51 UTC ( [id://2464]=perlquestion: print w/replies, xml ) | Need Help?? |
vroom has asked for the wisdom of the Perl Monks concerning the following question:
Use reverse in scalar context. It just reverses by bytes
or characters. In a list context it will reverse the
elements of a list:
Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom
|
|