in reply to tied handle in xs
if ((PL_op->op_type == OP_READ || PL_op->op_type == OP_SYSREAD) && gv && (io = GvIO(gv)) ) { const MAGIC * mg = SvTIED_mg((SV*)io, PERL_MAGIC_tiedscalar); if (mg) { SV *sv; PUSHMARK(MARK-1); *MARK = SvTIED_obj((SV*)io, mg); ENTER; call_method("READ", G_SCALAR); LEAVE; SPAGAIN; sv = POPs; SP = ORIGMARK; PUSHs(sv); RETURN; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: tied handle in xs
by Anonymous Monk on Oct 03, 2008 at 05:45 UTC | |
by plobsing (Friar) on Oct 03, 2008 at 06:44 UTC | |
by Anonymous Monk on Oct 03, 2008 at 07:45 UTC | |
|
Re^2: tied handle in xs
by spacepille (Acolyte) on Oct 04, 2008 at 21:05 UTC |