Found in both perldelta.pod and perltie.pod:
: =item READ this LIST
:
: This method will be called when the handle is read from via the C<read>
: or C<sysread> functions.
This isn't true without the following patch:
p5p-msgid:
199705010601.CAA04926@Orb.Nashua.NH.US
MAGIC *mg;
gv = (GV*)*++MARK;
- if (op->op_type == OP_READ &&
+ if ((op->op_type == OP_READ || op->op_type == OP_SYSREAD) &&
SvMAGICAL(gv) && (mg = mg_find((SV*)gv, 'q')))
{
SV *sv;