From 24ccf59f0aeccc726a3c7f26c945307bd1033b72 Mon Sep 17 00:00:00 2001 From: Dave Jacoby Date: Mon, 1 Jul 2019 13:06:33 -0400 Subject: Committing from within VS Code for the first time --- challenge-015/dave-jacoby/blog.txt | 1 + challenge-015/dave-jacoby/perl5/ch-1.pl | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 challenge-015/dave-jacoby/blog.txt diff --git a/challenge-015/dave-jacoby/blog.txt b/challenge-015/dave-jacoby/blog.txt new file mode 100644 index 0000000000..b28204810f --- /dev/null +++ b/challenge-015/dave-jacoby/blog.txt @@ -0,0 +1 @@ +https://jacoby.github.io/2019/07/01/perl-weekly-challenge-015.html \ No newline at end of file diff --git a/challenge-015/dave-jacoby/perl5/ch-1.pl b/challenge-015/dave-jacoby/perl5/ch-1.pl index 4c66702a02..f1ab521cd4 100644 --- a/challenge-015/dave-jacoby/perl5/ch-1.pl +++ b/challenge-015/dave-jacoby/perl5/ch-1.pl @@ -38,7 +38,6 @@ for my $n ( 1 .. @primes ) { push @strong, $o if $swb == 1; push @weak, $o if $swb == -1; last if @weak > 10 && @strong > 10; - say $swb; } say 'strong: ' . join ", ", @strong[0..9]; say 'weak: ' . join ", ", @weak[0..9]; -- cgit