Here's the very end plus one more example
> for show_args({say "code here"}) { say "show_args returned $_" }
[-> ;; $_? is raw { #`(Block|140485954938480) ... }]
show_args returned True
> for show_args() { say "show_args returned $_" }
[]
show_args returned True
> for (show_args) { say "show
Hi Bill,
maybe this example will help clarify the "theoretical" syntax explanations
of what happens with, and without, the empty parens.
First, there's a method ".perl" that shows what it's called on- it
serializes its object if it can. For code it shows that it's a block with a
ID.
$ perl6
To
On Sat, 3 Aug 2019 00:05:20 -0700
William Michels wrote:
> Dear Shlomi, Thank you for that StackOverflow link! --Bill.
>
You're welcome. Thanks for replying to the list.
--
-
Shlomi Fish http://www.shlomifish.org/
https://
Dear Shlomi, Thank you for that StackOverflow link! --Bill.
On Thu, Aug 1, 2019 at 12:28 AM Shlomi Fish wrote:
>
> On Wed, 31 Jul 2019 14:28:11 -0700
> William Michels via perl6-users wrote:
>
> > Hi Patrick, I used both your examples as perl6 one-liners. I'm not
> > sure why, but I had to chang