in reply to YAJAPH

Since the print prints $_, and $_ contains only one character, but the program produces 32 bytes of output, clearly there are at least 32 processes involved.

Each process does

sleep rand(2)
to emphasize this.

But the output comes out in the right order even though 32 concurrent processes are each printing a single character.

How is that accomplished?