Perl6 / rakudo: Does perl6 include "autoflush" by default?

#!perl6 use v6; my $message = "\nHello!\n\nSleep\nTest\n\n"; my @a = $message.split( '' ); for @a { sleep 0.3; .print; } 

Does perl6 include "autoflush" by default. With perl5 without the inclusion of "outflush" I do not get this behavior.

+4
source share
1 answer

Rakudo enables autorun by default; the specification indicates the default.

+6
source

Source: https://habr.com/ru/post/1340511/


All Articles