On Fri 30 Aug 2002 10:33, Elizabeth Mattijsen <[EMAIL PROTECTED]> wrote: > At 10:30 AM 8/30/02 +0200, H.Merijn Brand wrote: > > > Being able to do so at any point in Perl's execution would be > > great. Or is > > > there such a thing already and I just don't know about it (and I'm not > > > thinking about GTop)... > >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 :) > > What kinds of internal info are you thinking about?
memory, number of threads, internal variables unseen before Whatever we can think of, my imagination will have no bounds -- H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3, WinNT 4, Win2K pro & WinCE 2.11. Smoking perl CORE: [EMAIL PROTECTED] http:[EMAIL PROTECTED]/ [EMAIL PROTECTED] send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.org