aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Smith <baggy@baggy.me.uk>2021-10-19 17:19:58 +0100
committerGitHub <noreply@github.com>2021-10-19 17:19:58 +0100
commita9ca60217253cfa36cd97314e99741214db1704c (patch)
treef8d8688261383b58d1b483f1a7a99937212239fd
parent1819858c52b80c4c0ad6f5aaec86145f8133319c (diff)
downloadperlweeklychallenge-club-a9ca60217253cfa36cd97314e99741214db1704c.tar.gz
perlweeklychallenge-club-a9ca60217253cfa36cd97314e99741214db1704c.tar.bz2
perlweeklychallenge-club-a9ca60217253cfa36cd97314e99741214db1704c.zip
Update README.md
-rw-r--r--challenge-135/james-smith/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-135/james-smith/README.md b/challenge-135/james-smith/README.md
index 1681821363..c9d91e5434 100644
--- a/challenge-135/james-smith/README.md
+++ b/challenge-135/james-smith/README.md
@@ -45,7 +45,7 @@ It is possible to compact this slightly - buy 1 - assuming `$n` is an integer, a
```perl
sub middle3compact {
my$l=length(my$n=abs$_[0]);
- return$l<3?'Too short':$l%2?substr$n,$l/2-1,3:'Even digits';
+ $l<3?'Too short':$l%2?substr$n,$l/2-1,3:'Even digits';
}
```