aboutsummaryrefslogtreecommitdiff
path: root/template.raku
diff options
context:
space:
mode:
authorMatthiasMuth <99873492+MatthiasMuth@users.noreply.github.com>2023-05-21 21:59:46 +0200
committerGitHub <noreply@github.com>2023-05-21 21:59:46 +0200
commitdba8fa4ad8ac05cd7f92b1b8df63857d1d4b59c4 (patch)
treedeefa7edb1683505d41b95954b0dfc5b51a1a6e1 /template.raku
parentf6448daebe7cffd67e484af066ebd21ad8e614b4 (diff)
parent87c0bedd3ccc6c2459b62fc91429676507504d15 (diff)
downloadperlweeklychallenge-club-dba8fa4ad8ac05cd7f92b1b8df63857d1d4b59c4.tar.gz
perlweeklychallenge-club-dba8fa4ad8ac05cd7f92b1b8df63857d1d4b59c4.tar.bz2
perlweeklychallenge-club-dba8fa4ad8ac05cd7f92b1b8df63857d1d4b59c4.zip
Merge branch 'manwar:master' into muthm-217
Diffstat (limited to 'template.raku')
-rw-r--r--template.raku51
1 files changed, 51 insertions, 0 deletions
diff --git a/template.raku b/template.raku
new file mode 100644
index 0000000000..85d9896ff3
--- /dev/null
+++ b/template.raku
@@ -0,0 +1,51 @@
+#! /usr/bin/env raku
+
+# Perl Weekly Challenge
+# © 2023 Shimon Bollinger. All rights reserved.
+# Last modified: Mon 15 May 2023 09:17:32 PM EDT
+# Version 0.0.1
+
+=begin pod
+=TITLE
+=head2 Task
+
+=SUBTITLE
+=head2 Submitted by
+
+=CHALLENGE
+=head2
+
+=head3 Example 1:
+
+=head3 Example 2:
+
+=head3 Example 3:
+
+=head3 Example 4:
+
+=head3 Example 5:
+
+=SOLUTION
+
+=end pod
+
+# always use the latest version of Raku
+use v6.*;
+
+sub my-sub () {
+;
+} # end of sub my-sub ()
+
+multi MAIN (:$test! ) {
+ use Test;
+
+ my @tests = [
+ %{ input => (), output => Nil, text => 'Example ' },
+ ];
+
+ for @tests {
+ is my-sub( .<input> ), .<output>, .<text>;
+ } # end of for @tests
+} # end of multi MAIN (:$test! )
+
+