-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
As reported on StackOverflow, Python's STDOUT isn't flushed
use feature qw( say );
use Inline Python => <<'END_OF_PYTHON_CODE';
def test_print() -> int:
print("In the python test print")
return 32
END_OF_PYTHON_CODE
say "Got back ", test_print();Output:
$ perl a.pl
In the python test print
Got back 32
$ perl a.pl | cat
Got back 32
Who knows what other destruction doesn't occur.
Metadata
Metadata
Assignees
Labels
No labels