On Tue, 2004-01-20 at 15:13, Stas Bekman wrote:
> That's not what Perrin is talking about I think.
No, it is. Boris and I are saying the same thing.
> So you do suggest that a user
> need to load 'Apache::RequestRec' to get $r methods?
I don't think either of us meant to suggest that.
> So if I understand
> Perrin's vision, that code should work with:
>
> use APR::Table;
> sub handler : method {
> my $r = shift;
> $r->print('xx');
> my $t = $r->notes;
> $t->set('foo');
> }
Yes, except you should not need to load APR::Table.
> my problem is why $r is magical, but not $t.
I want all of the objects passed to users to AUTOLOAD their methods. I
just don't know what most of them are yet, since I haven't done any work
with mp2.
> Why inconsistency? if you didn't
> create $t, you shouldn't need to load APR::Table, it should be there for you,
> just like with $r.
Exactly, this is what Boris and I both want.
- Perrin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]