Re: Diamond <> or fileinput-like input handling (was Re: what type $in,$out and $err is)

2018-11-10 Thread yary
Can't answer most of your points. How to replicate this behavior in Raku without handling all the > args-handling and opening/closing logic yourself is now… unclear, at best, > and may simply be missing. > https://marketing.perl6.org/id/1541379592/pdf_digital has a hint " - see

Re: exceptions in threads

2018-11-10 Thread Brian Duggan
Oh, great! I was running the latest version I saw listed in 'rakudobrew list-available' which is 2018.10: ~ $ perl6 -v This is Rakudo version 2018.10 built on MoarVM version 2018.10 implementing Perl 6.c. thanks! Brian On Saturday, November 10, Elizabeth Mattijsen wrote: > In v6.d

Re: exceptions in threads

2018-11-10 Thread Elizabeth Mattijsen
In v6.d this throws the exception: $ 6 'start die("bye"); sleep 1' Unhandled exception in code scheduled on thread 4 bye in code at -e line 1 whereas the exception is silently ignored in 6.c: $ 6 'use v6.c; start die("bye"); sleep 1' Not sure if this answers your question, as it is unclear

exceptions in threads

2018-11-10 Thread Brian Duggan
Hi Perl 6 Users, What's the best way to know that an exception occurred in another thread, e.g. $ perl6 -e 'start say("hi"); sleep 1' hi $ but $ perl6 -e 'start die("bye"); sleep 1' $ I thought maybe $*SCHEDULER.uncaught_handler would help out here, but it didn't seem to.