Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Workaround for https://github.com/MoarVM/MoarVM/issues/165
- # my $stdinput = $*IN.Supply;
- my $insupplier = Supplier.new;
- {
- use Readline;
- start {
- my $readline = Readline.new;
- while my $msg = $readline.readline( "" ) {
- $insupplier.emit($msg);
- }
- };
- }
- my $stdinput = $insupplier.Supply;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement