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. |
|||
00:40
habere-et-disper left
|
|||
masukomi | can anyone point me to a working command line tool that accesses a file in `%?RESOURCES` I've read all the docs i could find and i can't figure out how to make `%?RESOURCES` _not_ be `Nil` (yes i defined it in my meta6 and it is an array that contains something). | 01:59 | |
can anyone point me to a working command line tool that accesses a file in `%?RESOURCES` I've read all the docs i could find and i can't figure out how to make `%?RESOURCES` _not_ be `Nil` (yes i defined `resources` in my meta6 and it is an array that contains something). | |||
🤦♀️fiiinaly figured it out. Needs like big-ol-explicit ⚠️ THIS DOESN'T WORK EXCEPT IN A MODULE/CLASS ⚠️ things. Yes it's mentioned, but it always feels like an throw away comment in passing, and it's so non-sensical seeming that you'd have to make a module just to access a _global_ compile time variable. | 02:14 | ||
03:13
frost joined
04:09
Heptite left
04:33
Heptite joined
04:37
Heptite left
04:43
avuserow left
04:49
Heptite joined
05:17
lesihctej left
05:40
frost left,
frost joined
05:45
frost left
06:21
frost joined
07:04
Heptite left
07:13
jetchisel joined
|
|||
Nemokosch | On the other hand, I feel there's so much wrong with your assumptions. Resources are for modules - moreover META6.json itself is for modules and I doubt it does anything if you just run a Raku script | 07:28 | |
There are global compile-time variables that the Raku compiler itself sets | 07:30 | ||
I don't know, this really seems like node and package.json. Node in itself won't do anything based on package.json. Here, there is more native integration of packaging and compilation but at the end of the day, it's still two different things. A script run out of the blue does nothing about its own deployment. That's what I do with a script I made for work - I don't even do dependency management, I just | 08:01 | ||
08:17
dakkar joined
14:03
Kaipei is now known as Kaiepi
14:04
frost left
15:57
Heptite joined
16:41
dakkar left
18:36
n1to joined
21:10
Nemokosch joined
21:34
n1to left
21:35
Heptite left
22:06
Nemokosch left
23:53
deoac joined
23:55
deoac left
23:59
deoac joined
|