Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-toolchain, 2016-02-14

| Channels | #perl6-toolchain index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
02:49 ilbot3 joined #perl6-toolchain
02:49 Topic for #perl6-toolchain is now Fire is step THREE! | https://github.com/perl6/toolchain-bikeshed | Channel logs: http://irclog.perlgeek.de/perl6-toolchain/today | useful prior art: https://metacpan.org/pod/CPAN::Meta::Spec
03:39 cognominal joined #perl6-toolchain
09:04 hankache joined #perl6-toolchain
09:25 nine ugexe: I just merged the query_repos branch giving you $*REPO.resolve for checking if a module is installed and $repo.uninstall($dist). Just check with .can before blindly using them :)
10:19 hankache joined #perl6-toolchain
10:34 leont joined #perl6-toolchain
16:27 sufrostico joined #perl6-toolchain
16:33 ugexe nine: why the use of self.prefix('resource/bin/short') instead of self!short-dir etc? is it because self!short-dir will create itself first if it doesnt exist?
16:39 ugexe also, what is short-dir/short-id's relation to everything else? im just now noticing its existence for some reason heh
16:46 nine ugexe: short-dir is for lookup of dist candidates by module short-name. This saves us from having to read all dist meta data to find a dist that provides the requested module
16:49 nine I honestly don't know anymore why I didn't use the directory accessor methods. There was a horribly exhausting month between now and when I wrote that code.
17:56 ugexe BEGIN blocks are acting funny. If I generate a config inside a BEGIN, it will always contain the same config data for every restart (even if I change the config file contents) until I force it to precompile again one way or another
17:56 sevvie joined #perl6-toolchain
18:01 flussence I think that's by design... does it have to be inside a BEGIN?
18:02 ugexe a different part that modified @*ARGS does
18:03 ugexe i can move the begin block to the bin/xxx script where it wont be precompiled, but it seems odd that it would be neccesary
18:25 nine I don't see how it could work any other way as BEGIN blocks are by definition compile time code and the whole purpose of precompilation is to only compile the code once.
18:27 ugexe i must need a different phaser. i want to be sure a piece of code runs before any MAIN (so i can process @*ARGS before MAIN_HELPER gets it)
18:28 ugexe these MAINs might be in a module though, and thus loaded earlier than the rest of the code that is `use`ing it
19:16 FROGGS joined #perl6-toolchain
19:57 b2gills ugexe: I think you want INIT not BEGIN
20:27 hankache joined #perl6-toolchain

| Channels | #perl6-toolchain index | Today | | Search | Google Search | Plain-Text | summary