Re: [PATCH 5.8.1-RC4] New Pragma Proposal: autobox

2003-08-12 Thread Nick Ing-Simmons
Tassilo Parseval <[EMAIL PROTECTED]> writes: > >'Just fakes it' might be a pointer. From the viewpoint of the user, the >primitive looks like an object without actually being one. So why not >admitting that by just calling it 'fakeobject' (or plural even)? mirage ;-)

Re: [PATCH 5.8.1-RC4] New Pragma Proposal: autobox

2003-08-14 Thread chocolateboy
Michael G Schwern wrote: > Doesn't work here. > > Perhaps because I patched against bleadperl instead of RC4? My newbie bad. I'll concoct a bleadperl patch when I have a mo. For now, RC4 please. > Either way, any reason autobox can't set up SCALAR, HASH, > et al for the user so the former DWIMs

Re: [PATCH 5.8.1-RC4] New Pragma Proposal: autobox

2003-08-14 Thread Alan Burlison
[EMAIL PROTECTED] wrote: The impact looks pretty minimal: the patch needs to do a little bit of extra work in the optree cleanup/optimisation phase, and on method lookup all the real magic occurs wrapped in a test: if ((PL_op->op_flags & OPf_SPECIAL) && ...) .. which test will succeed only if

Re: [PATCH 5.8.1-RC4] New Pragma Proposal: autobox

2003-08-14 Thread Rafael Garcia-Suarez
chocolate boy wrote: > > (PS. Could autobox.pm be implemented without a core > > patch ? by using optimizer.pm and B::Generate for > > example.) > > Not using optimize.pm alone. Its peep() hook occurs > too late i.e. outside the scope in which $^H and %^H > are meaningful. On the big TODO list i