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.
01:18 Manifest0 left 02:07 hudo left 05:37 hudo joined 06:12 hudo left 08:55 Manifest0 joined 09:07 dakkar joined
tbrowder__ aruniecrisps: check out module Date::Names which has 13 language versions of almost identical subs and constants selectable from a two-letter code 12:43
uses programmatic selection of modules 15:28
16:57 hudo joined 17:42 dakkar left 20:05 petlib joined
petlib Hi, I tried the code snippet on raku.guide/#_using_modules and got error: You cannot create an instance of this type (Digest::MD5) in block <unit> at md5.raku line 3". 20:14
installed module Test::Util::ServerPort with zef, And this module works fine. 20:16
rakudo is installed via rakudo-pkg on ubuntu 20:17
20:42 petlib left
librasteve petlib: what version of raku are you running? try raku -v 20:46
(typically the apt type installers are not up to date, I recommend rakubrew.org) 20:47
21:27 petlib joined
petlib: I tried this example on my machine ... got same error, so I have opened an issue here github.com/hankache/rakuguide/issues/230 ... meantime, 21:28
use Abbreviations; my $words = 'A ab Abcde'; # The main exported routine: my %abbrevs = abbreviations $words; say %abbrevs.gist; # OUTPUT: «{A => A, Abcde => Ab, ab => a}␤»
^^ here's a different example picked at random from raku.land
that I have tested 21:29
21:32 petlib left 22:19 hudo left