aboutsummaryrefslogtreecommitdiff
path: root/challenge-001
diff options
context:
space:
mode:
authorMohammad S Anwar <mohammad.anwar@yahoo.com>2019-04-03 20:17:55 +0100
committerMohammad S Anwar <mohammad.anwar@yahoo.com>2019-04-03 20:17:55 +0100
commit8f2a9c584fd921037ccfb8ec304865dae2d52796 (patch)
treedff053b0b647a39fd9d8e5babbf2738d56e3b3fa /challenge-001
parentd579e514f4f37a998fb5efc74286b0cf413ad491 (diff)
downloadperlweeklychallenge-club-8f2a9c584fd921037ccfb8ec304865dae2d52796.tar.gz
perlweeklychallenge-club-8f2a9c584fd921037ccfb8ec304865dae2d52796.tar.bz2
perlweeklychallenge-club-8f2a9c584fd921037ccfb8ec304865dae2d52796.zip
- Added solution by "James A Smith" for challenge 002.
Diffstat (limited to 'challenge-001')
-rw-r--r--challenge-001/james-smith/perl6/ch-1.sh1
-rw-r--r--challenge-001/james-smith/perl6/ch-2.p63
2 files changed, 0 insertions, 4 deletions
diff --git a/challenge-001/james-smith/perl6/ch-1.sh b/challenge-001/james-smith/perl6/ch-1.sh
deleted file mode 100644
index c4ef1e4e0a..0000000000
--- a/challenge-001/james-smith/perl6/ch-1.sh
+++ /dev/null
@@ -1 +0,0 @@
-perl6 -e 'say m/^0*(\d+[.\d+]?)/??"$0"!!$_ for @*ARGS' 121 0.012 -012 002 000
diff --git a/challenge-001/james-smith/perl6/ch-2.p6 b/challenge-001/james-smith/perl6/ch-2.p6
deleted file mode 100644
index 80d37995c2..0000000000
--- a/challenge-001/james-smith/perl6/ch-2.p6
+++ /dev/null
@@ -1,3 +0,0 @@
-sub mp($n) {chr $n+($n < 10??48!!55)}
-sub b35($n) {$n??b35(floor $n/35)~mp($n%35)!!''}
-say b35 $_ for @*ARGS;