The == operator coerces to Numeric, so like:

> sub one-thing { return ("hi",) }
sub one-thing () { #`(Sub|93867233982256) ... }
> one-thing.Numeric
1

(mentioned in https://docs.perl6.org/routine/$EQUALS_SIGN$EQUALS_SIGN)

I think my does indeed do some fancy precidenting with the assignment.

--Brock


On Mon, Mar 13, 2017 at 3:56 PM, Sean McAfee <eef...@gmail.com> wrote:

> sub one-thing { return ("hi",) }

Reply via email to