Re: What does `:_` and/or `:_:` signify?

2023-09-26 Thread William Michels via perl6-users
Hi Marton, Thanks for the reply. Below last example (in the REPL), does `dd` not work on Pairs? Or is this Indirect Object Notation at work? [3] > :_ _ => True [4] > dd :_ :_ Nil [5] > dd _ ===SORRY!=== Error while compiling: Undeclared name: _ used at line 1 [5] > dd :_: No such method '

Re: What does `:_` and/or `:_:` signify?

2023-09-26 Thread Polgár Márton
The code tried to do the same with `dd` as with `say`. There are two differences: * `dd`, as a kind of debug tool, doesn't assign any special meaning to named arguments so it's more than willing to give a Pair back with a colon syntax representation even if was understood as a named argum