diff options
| author | James Smith <js5@sanger.ac.uk> | 2022-09-18 08:38:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-18 08:38:07 +0100 |
| commit | 701c056a6446a87855837ff7b6380eed5168d959 (patch) | |
| tree | 30e6e51ee487e66afdfa12816e2007343428d68f /challenge-182/james-smith | |
| parent | ddc2706aa9a8afeb7f1a037de48586d923358049 (diff) | |
| download | perlweeklychallenge-club-701c056a6446a87855837ff7b6380eed5168d959.tar.gz perlweeklychallenge-club-701c056a6446a87855837ff7b6380eed5168d959.tar.bz2 perlweeklychallenge-club-701c056a6446a87855837ff7b6380eed5168d959.zip | |
Update README.md
Diffstat (limited to 'challenge-182/james-smith')
| -rw-r--r-- | challenge-182/james-smith/README.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/challenge-182/james-smith/README.md b/challenge-182/james-smith/README.md index eb37de9c75..021f897312 100644 --- a/challenge-182/james-smith/README.md +++ b/challenge-182/james-smith/README.md @@ -26,6 +26,7 @@ this everytime the value at the entry is greater than the value at the max index ```perl sub max_index { + return unless @_; my $m=0; $_[$_] > $_[$m] && ( $m = $_ ) for 1 .. $#_; $m |
