Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabeth de vogelaere committed Oct 22, 2015
1 parent 3fd6c6a commit 0aa68ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions week8/01-palindrome.pl
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
use warnings;
use autodie;
use feature "say";
use Data::Dumper;

unless (@ARGV){
die "Please provide a word or phrase.\n";
}

my $input = lc(shift);
$input =~ s/[..., ]//g;
$input =~ s/[^A-Za-z0-9]//g;
my $rev_input = reverse $input;


Expand Down

0 comments on commit 0aa68ac

Please sign in to comment.