It is confusing that MCE's read works fundamentally differently from Perl's read.
It's not clear what you mean by "MCE's read" but the snippet which you quoted as
read $fh, my($buf), '4k';
is most definitely Perl's read. HTH.
In reply to Re^3: PerlIO file handle dup
by hippo
in thread PerlIO file handle dup
by chris212
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |