# Solutions by Packy Anderson ## Perl * [Task 1](perl/ch-1.pl) Sample output ``` $ perl/ch-1.pl Example 1: Input: @ints = (1, 34, 5, 6) Output: (1, 3, 4, 5, 6) Example 2: Input: @ints = (1, 24, 51, 60) Output: (1, 2, 4, 5, 1, 6, 0) ``` * [Task 2](perl/ch-2.pl) Sample output ``` $ perl/ch-2.pl Example 1: Input: @words = ("pay", "attention", "practice", "attend") $prefix = "at" Output: 2 Two words "attention" and "attend" start with the given prefix "at". Example 2: Input: @words = ("janet", "julia", "java", "javascript") $prefix = "ja" Output: 3 Three words "janet", "java", and "javascript" start with the given prefix "ja". ``` ## Raku * [Task 1](raku/ch-1.raku) Sample output ``` $ raku/ch-1.raku Example 1: Input: @ints = (1, 34, 5, 6) Output: (1, 3, 4, 5, 6) Example 2: Input: @ints = (1, 24, 51, 60) Output: (1, 2, 4, 5, 1, 6, 0) ``` * [Task 2](raku/ch-2.raku) Sample output ``` $ raku/ch-2.raku Example 1: Input: @words = ("pay", "attention", "practice", "attend") $prefix = "at" Output: 2 Two words "attention" and "attend" start with the given prefix "at". Example 2: Input: @words = ("janet", "julia", "java", "javascript") $prefix = "ja" Output: 3 Three words "janet", "java", and "javascript" start with the given prefix "ja". ``` ## Blog Post [Perl Weekly Challenge: Not the Stated Problem](http://packy.dardan.com/2023/08/18/perl-weekly-challenge-not-the-stated-problem/)