Hi Monks,
I am trying to reverse the string. So I tried the following
perl -e "print reverse ("Monks");"But, It doesn't reverse print.
OUTPUT:
MonksBut, When I use scalar It print reverse
perl -e "print scalar reverse ("Monks");"OUTPUT:
sknoMI need to know, why its not printing when i use reverse without scalar.
Thanks in Advance Ashok
In reply to Reverse the String by ashokpj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |