Perl has always been known for its text processing and manipulation abilities. This article examines the Perl string handling API in greater detail, explaining how you can use Perl's string functions to (among other things) print and format strings, split and join string values, alter string case, and perform regular expression searches.
And if you ever find the need to reverse a string, well, you can always reach for the reverse() function...
#!/usr/bin/perl
$str = "Wassup, dood?";
# reverse string
# $rts now contains ?dood ,pussaW
$rts = reverse($str);
# returns "Sorry, you seem to be talking backwards - what does
# ?dood ,pussaW mean?"
print "Sorry, you seem to be talking backwards - what does $rts
mean?";