summaryrefslogtreecommitdiff
path: root/src/content/pastebins/2019/12
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/pastebins/2019/12')
-rw-r--r--src/content/pastebins/2019/12/29/raku-tuple-type.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/pastebins/2019/12/29/raku-tuple-type.adoc b/src/content/pastebins/2019/12/29/raku-tuple-type.adoc
index 0337ad8..50dd841 100644
--- a/src/content/pastebins/2019/12/29/raku-tuple-type.adoc
+++ b/src/content/pastebins/2019/12/29/raku-tuple-type.adoc
@@ -1,7 +1,7 @@
= Raku tuple type annotation
:categories: raku programming-languages
-[source,perl]
+[source,raku]
----
# Single Str return value: this works
sub f1(Str $in --> Str) {
@@ -21,7 +21,7 @@ sub f2(Str $in --> (Str, Str)) {
Error log is:
-[source,perl]
+[source,raku]
----
===SORRY!=== Error while compiling /path/to/my/file
Malformed return value