On Fri, 2002-08-30 at 04:30, H.Merijn Brand wrote: > I was thinking about highjacking a standard function: read () > > read filehandle, $var, length [, offset] > > and use it like > > read [ \"PERL_status" ], $mem, "memory"; > > which is very illegal at the moment :) but probably easy to catch in the > internals and than we've got a new gate to a welth of internal info :)
Why not a simple(!) magic hash, or an entire namespace? print $PROC{"memory used"}; print $PROC::memory_used; -- Bryan C. Warnock bwarnock@(gtemail.net|raba.com)