This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html Set by lizmat on 8 June 2022. |
|||
02:05
deoac left
07:55
dakkar joined
08:12
librasteve_ joined
|
|||
disbot4 | <jubilatious1_98524> @msiism If you like one-liners, you can call UUID::V4 at the shell command line: ~ % raku -MUUID::V4 -e 'my $uuid = uuid-v4(); put $uuid;' | 11:09 | |
11:22
librasteve_ left
11:58
librasteve_ joined
|
|||
librasteve_ | teases rakudoweekly.blog/2025/07/28/2025-...onal-week/ | 12:11 | |
14:02
deoac joined
14:22
librasteve_ left
16:35
dakkar left
17:36
stanrifkin joined
17:55
librasteve_ joined
20:05
librasteve_ left
|
|||
deoac | %?RESOURECS.^name == Distribution.::Resources | 20:22 | |
%?RESOURCES<foo>.^name == Distribution::Resource | |||
So it looks like a hash, but | |||
for %?RESOURCES.keys -> $key { | |||
say "Resource: $key"; | |||
} | |||
does not print "foo". How can I see all the 'keys' in this sort-of hash? | |||
lizmat | you cannot, directly | 20:44 | |
However, you can iterate over: $?DISTRIBUTION.meta<resources> | 20:45 | ||
deoac | Thanks. But since it looks like a hash, shouldn't it DWIM when I treat it like a hash? | 21:27 | |
disbot4 | <librasteve> deoac: Raku has a handful of special variables that don’t DWIM … you can tell the, by the ? twigil which means please rtm | 21:46 | |
21:49
librasteve_ joined
22:38
stanrifkin left
|
|||
deoac | what does 'rtm' mean? | 22:48 | |
23:59
librasteve_ left
|