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.
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
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
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
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