Reverse String

By Ziddykins on May 15, 2014

Uploading a bunch of stuff made for a programming challenge.
Reverses a string given by user.

#!/usr/bin/perl
print "Input a string to be reversed: ";
my $string = reverse <STDIN>;
print "Reversed: $string\n";

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.