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.
habere-et-disper Full text: 00:22
```bash
$ raku
Welcome to Rakudo™ v2022.12.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2022.12.
I ran into a problem while trying to set up Readline: ===SORRY!===
Failed to get the directory contents of '/usr/local/opt/readline/lib': Failed to open dir: No such file or directory
Falling back to Linenoise (if present)
To exit type 'exit' or '^D'
[0] >
```
```bash
$ zef list --installed | grep Readline
Readline:ver<0.1.6>:auth<cpan:fooist
```
jaguart maybe zef install --force-install Readline ? 00:29
installed modules get precompiled and end up in sha1 named places like: find ~ -ls | grep Readline 00:35
===> /home/jeff/.zef/store/perl6-readline/A01FED661682F6E510445205CBD1F5A540B19198/lib/Readline.pm 00:36
habere-et-disper Uninstall and reinstall shows the cause: 00:37
[Readline] ===SORRY!===
[Readline] On macOS Perl6::Readline requires installing Readline via Homebrew
jaguart :)
habere-et-disper Thanks @jaguart. Brew failed to install readline with: 00:56
Warning: Refusing to link macOS provided/shadowed software: readline
Then I realized it was installed via nix, added another directory to the nix lib path and it works!
03:25 habere-et-disper left 04:38 MasterDuke left 05:07 Heptite left 06:20 razetime joined 10:55 Kaiepi left 11:15 Kaiepi joined 13:42 razetime left 13:51 razetime joined 15:26 Heptite joined 15:44 Kaiepi left 15:46 guifa_ joined 15:49 guifa left 15:57 Kaiepi joined 16:13 asarch joined
asarch From: modules.raku.org/dist/Gnome::Gtk3:cpan:MARTIMM in the example code there is: my Gnome::Gtk3::Main $m .= new; What does .= mean? 16:17
17:02 Kaiepi left 17:05 razetime left 17:56 Kaiepi joined 20:25 asarch left
lizmat asarch: my Foo $bar .= new; is the same as my Foo $bar = Foo.new 22:55
it allows you to not have to repeat the "Foo" if you want to constrain the type in the variable 22:56
23:44 Kaiepi left 23:51 Kaiepi joined