Mega Code Archive
Categories
/
Perl
/
String
Reverse a string
$string = "Hello!"; $reversed = reverse($string); print "$reversed\n";