diff options
| author | LapVeesh <rabbiveesh@gmail.com> | 2019-04-21 13:54:58 +0300 |
|---|---|---|
| committer | LapVeesh <rabbiveesh@gmail.com> | 2019-04-21 13:54:58 +0300 |
| commit | 90cfe9a48329303bc7103879b5ef25b02a1b1e0b (patch) | |
| tree | c36537704b73ec4a361e09fe3a671862c04655bb | |
| parent | bc48f4a394d64745da87660004d7ec6e67e7b4e1 (diff) | |
| download | perlweeklychallenge-club-90cfe9a48329303bc7103879b5ef25b02a1b1e0b.tar.gz perlweeklychallenge-club-90cfe9a48329303bc7103879b5ef25b02a1b1e0b.tar.bz2 perlweeklychallenge-club-90cfe9a48329303bc7103879b5ef25b02a1b1e0b.zip | |
Corrected the case sensitivity
| -rwxr-xr-x | challenge-004/veesh-goldman/perl5/ch-02.pl | 2 |
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; } |
