aboutsummaryrefslogtreecommitdiff
path: root/challenge-084
diff options
context:
space:
mode:
authorMohammad S Anwar <Mohammad.Anwar@yahoo.com>2020-11-01 22:43:52 +0000
committerGitHub <noreply@github.com>2020-11-01 22:43:52 +0000
commit63c6c5c995016f0427a7a55650bbd2d22645b61a (patch)
treefa17139e687862ee4b089e41631350f656cc3024 /challenge-084
parentc5c9b929fec939b0cc52b1dde34eae86df8c7f1a (diff)
parent83c1b8d71c0b6a76157bb9217dc0eedf36ca2ff2 (diff)
downloadperlweeklychallenge-club-63c6c5c995016f0427a7a55650bbd2d22645b61a.tar.gz
perlweeklychallenge-club-63c6c5c995016f0427a7a55650bbd2d22645b61a.tar.bz2
perlweeklychallenge-club-63c6c5c995016f0427a7a55650bbd2d22645b61a.zip
Merge pull request #2675 from jeongoon/master
[ch-084/jeongoon] ch-1.raku: typo
Diffstat (limited to 'challenge-084')
-rw-r--r--challenge-084/jeongoon/raku/ch-1.raku2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-084/jeongoon/raku/ch-1.raku b/challenge-084/jeongoon/raku/ch-1.raku
index ad34e9f484..020dd228e1 100644
--- a/challenge-084/jeongoon/raku/ch-1.raku
+++ b/challenge-084/jeongoon/raku/ch-1.raku
@@ -18,7 +18,7 @@ sub filter32bit( Str $nstr ) {
my $nstr-abs = S/^0+// # remove zeroes in the beginging. for better cmp.
with $nstr.subst("-",""); # disgard the sign as well.
say "[FLTR] ",($nstr-abs gt $nstr ?? "-" !! ""),$lstr if $d;
- $nstr-abs eq "" and 0.return # when get zero(es) as input
+ $nstr-abs eq "" and 0.return; # when get zero(es) as input
# better read bottom up
($nstr.Int but "0",