01-06-22 02.44, skrev Rocco Caputo p� [EMAIL PROTECTED] f�ljande:
> On Thu, Jun 21, 2001 at 05:06:51PM -0400, [EMAIL PROTECTED] wrote:
>> I don't think POE has much of this. I would like to get a list of all
>> current sessions (probably a list of IDs), then query for, with aliases
>> and current states. Something like :
>>
>> @ids=$kernel->session_list();
>
> Useful and not without precedent. See /bin/ps almost anywhere.
>
>> @events=$kernel->session_evnets($ids[0]);
>
> I'm against this one. Sessions' privacy has always been a major
> design goal. If a session wants you to know what's in it, it should
> include something to tell you when you ask nicely. That way, also,
> you don't find things it never wanted you to see in the first place.
I disagree, Introspection is very good for debugging!
However this is a moot point, using hooks one can implment introspection.
I am away hacking over the weekend!
Artur