[Dbix-class] Re: RFC: Restrict deflation to blessed objects only?

A. Pagaltzis pagaltzis at gmx.de
Sun Oct 29 01:45:26 BST 2006


* Jess Robinson <castaway at desert-island.demon.co.uk> [2006-10-28 23:55]:
> On Sat, 28 Oct 2006, A. Pagaltzis wrote:
>> * Jess Robinson <castaway at desert-island.demon.co.uk> [2006-10-28 20:55]:
>>> Is anyone relying on the fact that deflate currently checks
>>> for is-ref, and not blessed objects?
>>  
>> If the deflater doesnÿÿt deref the reference itself, then it
>> would be hard to rely on that behaviour for anything useful,
>> in which case Iÿÿd say you shouldnÿÿt even think about it.
>  
> ENOPARSE .. Run that by me again?

If the code that deflates a reference uses it as an object, then
passing in a non-object reference won’t do anything useful. And
if thatśs the case, then it’s very unlikely that anyone is
relying on this behaviour, which means you can go ahead and
change the behaviour without worrying.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the DBIx-Class mailing list