In Operators§
See primary documentation in context for postcircumfix <>.
Decontainerization operator, which extracts the value from a container and makes it independent of the container type.
use JSON::Tiny; my $config = from-json('{ "files": 3, "path": "/home/some-user/raku.rakudoc" }'); say $config.raku; # OUTPUT: «${:files(3), :path("/home/some-user/raku.rakudoc")}» my %config-hash = $config<>; say %config-hash.raku; # OUTPUT: «{:files(3), :path("/home/some-user/raku.rakudoc")}»
It's a Hash
in both cases, and it can be used like that; however, in the first case it was in item context, and in the second case it has been extracted to its proper context.