aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-243/kjetillll/perl/ch-2.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-243/kjetillll/perl/ch-2.pl b/challenge-243/kjetillll/perl/ch-2.pl
index 6a3c903dcd..1f544f85d2 100644
--- a/challenge-243/kjetillll/perl/ch-2.pl
+++ b/challenge-243/kjetillll/perl/ch-2.pl
@@ -6,7 +6,7 @@ use strict; use warnings;
sub sum_of_floors {
eval
join '+',
- map { /_/; "int($`/$')" }
+ map { /_/; int($`/$') }
glob "{@_}_{@_}" =~ s/ /,/gr
}