reverse works on scalar strings as well!
$ perl -Mstrict -Mwarnings -E ' > my $word = q{Constantinople}; > my $drow = reverse $word; > say $drow;' elponitnatsnoC $
I hope this is of interest.
Cheers,
JohnGG
In reply to Re^2: reversed hash doesn't identify keys
by johngg
in thread reversed hash doesn't identify keys
by holly_71
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |