diff options
| author | Paulo Custodio <pauloscustodio@gmail.com> | 2021-12-03 10:37:53 +0000 |
|---|---|---|
| committer | Paulo Custodio <pauloscustodio@gmail.com> | 2021-12-03 10:37:53 +0000 |
| commit | cc1e200e05cfd8fda451a2b68c66445500569d4c (patch) | |
| tree | ef0d23a14c50034a8d62f57e514a3ce85d966810 /challenge-001 | |
| parent | bf990af024f1ea0279927e4c89b2146b86e15e3b (diff) | |
| download | perlweeklychallenge-club-cc1e200e05cfd8fda451a2b68c66445500569d4c.tar.gz perlweeklychallenge-club-cc1e200e05cfd8fda451a2b68c66445500569d4c.tar.bz2 perlweeklychallenge-club-cc1e200e05cfd8fda451a2b68c66445500569d4c.zip | |
Add Python solution to challenge 23
Diffstat (limited to 'challenge-001')
| -rw-r--r-- | challenge-001/paulo-custodio/check_challenge_title.pl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/challenge-001/paulo-custodio/check_challenge_title.pl b/challenge-001/paulo-custodio/check_challenge_title.pl index cd36c62e87..02a8d1babd 100644 --- a/challenge-001/paulo-custodio/check_challenge_title.pl +++ b/challenge-001/paulo-custodio/check_challenge_title.pl @@ -33,10 +33,10 @@ for my $chall_dir (path(".")->children(qr/challenge-\d+/)) { next unless $dir->is_dir; for my $sol ($dir->children(qr/^ch[-_]\d\.$LANG{$lang}$/)) { - my $text = $sol->slurp; - if ($text !~ /Challenge 0*$chall\b/) { - say $sol; - } - } + my $text = $sol->slurp; + if ($text !~ /Challenge 0*$chall\b/) { + say $sol; + } + } } } |
