diff options
| author | Myoungjin JEON <jeongoon@gmail.com> | 2020-11-02 08:30:26 +1100 |
|---|---|---|
| committer | Myoungjin JEON <jeongoon@gmail.com> | 2020-11-02 08:30:26 +1100 |
| commit | 83c1b8d71c0b6a76157bb9217dc0eedf36ca2ff2 (patch) | |
| tree | 91c3556ed1c0c1ae2963a742bd85d6d559e80f8c /challenge-084/jeongoon | |
| parent | 91cf947a399bb8691f170bffb6e2b6004c144d66 (diff) | |
| download | perlweeklychallenge-club-83c1b8d71c0b6a76157bb9217dc0eedf36ca2ff2.tar.gz perlweeklychallenge-club-83c1b8d71c0b6a76157bb9217dc0eedf36ca2ff2.tar.bz2 perlweeklychallenge-club-83c1b8d71c0b6a76157bb9217dc0eedf36ca2ff2.zip | |
[ch-084/jeongoon] ch-1.raku: typo
Diffstat (limited to 'challenge-084/jeongoon')
| -rw-r--r-- | challenge-084/jeongoon/raku/ch-1.raku | 2 |
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", |
