aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLapVeesh <rabbiveesh@gmail.com>2019-04-21 13:54:58 +0300
committerLapVeesh <rabbiveesh@gmail.com>2019-04-21 13:54:58 +0300
commit90cfe9a48329303bc7103879b5ef25b02a1b1e0b (patch)
treec36537704b73ec4a361e09fe3a671862c04655bb
parentbc48f4a394d64745da87660004d7ec6e67e7b4e1 (diff)
downloadperlweeklychallenge-club-90cfe9a48329303bc7103879b5ef25b02a1b1e0b.tar.gz
perlweeklychallenge-club-90cfe9a48329303bc7103879b5ef25b02a1b1e0b.tar.bz2
perlweeklychallenge-club-90cfe9a48329303bc7103879b5ef25b02a1b1e0b.zip
Corrected the case sensitivity
-rwxr-xr-xchallenge-004/veesh-goldman/perl5/ch-02.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-004/veesh-goldman/perl5/ch-02.pl b/challenge-004/veesh-goldman/perl5/ch-02.pl
index 9a5fdefee6..bac9712084 100755
--- a/challenge-004/veesh-goldman/perl5/ch-02.pl
+++ b/challenge-004/veesh-goldman/perl5/ch-02.pl
@@ -21,7 +21,7 @@ while (<>) {
#copy the string to check for letters
my $string = $_;
#remove any letter in our list from the word
- $string =~ s/$_// for split //, $list;
+ $string =~ s/$_//i for split //, $list;
#if there's no word left, then print our original word
CORE::say unless $string;
}