You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I grepped the docs and couldn't fine any place where we show something like this:
my%a=:11a, :22b;
%a=%a, :33x;
say%a# OUTPUT: «{a => 11, b => 22, x => 33}»
Also, this can be written using ,=:
my%a=:11a, :22b;
%a ,=:33x;
say%a# OUTPUT: «{a => 11, b => 22, x => 33}»
,= is of course not specific to hashes and behaves like any other op combined with =. However, it seems like ,= is particularly useful for hashes, and people who stumble upon it in code should be able to find this section quickly.
The text was updated successfully, but these errors were encountered:
I grepped the docs and couldn't fine any place where we show something like this:
Also, this can be written using
,=:,=is of course not specific to hashes and behaves like any other op combined with=. However, it seems like,=is particularly useful for hashes, and people who stumble upon it in code should be able to find this section quickly.The text was updated successfully, but these errors were encountered: