I need sub returns help
[email protected] (ToddAndMargo via perl6-users) Sun, 26 Oct 2025 17:45:56 -0700
| Newsgroups | perl.perl6.users |
|---|---|
| Message-ID | <[email protected]> |
Hi All,
What am I doing wrong here? I want
two things in my "returns".
[2] > sub x() returns Bool,Str {}
===SORRY!=== Error while compiling:
Missing block
------> sub x() returns Bool⏏,Str {}
expecting any of:
new name to be defined
Yours in confusion,
-T