in reply to Why the print is not working
It is working. The reverse is executing in list context and reversing its one element list. Try scalar reverse "dog" to get what you were hoping for.
-sauoq "My two cents aren't worth a dime.";
|
---|
In Section
Seekers of Perl Wisdom