diff options
| author | Paulo Custodio <pauloscustodio@gmail.com> | 2021-01-28 00:36:52 +0000 |
|---|---|---|
| committer | Paulo Custodio <pauloscustodio@gmail.com> | 2021-01-28 00:53:54 +0000 |
| commit | d3ace41b673d56b7e683c99c24229534935880f4 (patch) | |
| tree | 776d7ce2845db05c460a6a5db768e02beb2d3d66 /challenge-077 | |
| parent | 92e99f61d6116958a011d364a898fc93fd08e0cf (diff) | |
| download | perlweeklychallenge-club-d3ace41b673d56b7e683c99c24229534935880f4.tar.gz perlweeklychallenge-club-d3ace41b673d56b7e683c99c24229534935880f4.tar.bz2 perlweeklychallenge-club-d3ace41b673d56b7e683c99c24229534935880f4.zip | |
Remove spaces
Diffstat (limited to 'challenge-077')
| -rw-r--r-- | challenge-077/paulo-custodio/perl/ch-1.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/challenge-077/paulo-custodio/perl/ch-1.pl b/challenge-077/paulo-custodio/perl/ch-1.pl index 7939010631..13c7ff09ec 100644 --- a/challenge-077/paulo-custodio/perl/ch-1.pl +++ b/challenge-077/paulo-custodio/perl/ch-1.pl @@ -60,7 +60,7 @@ sub compute_fib { } sub sum { - my($sum, @a) = @_; - $sum += $_ for @a; - return $sum; + my($sum, @a) = @_; + $sum += $_ for @a; + return $sum; } |
