On Sun, 29 Oct 2006, Matt S Trout wrote:
A. Pagaltzis wrote:
* Jess Robinson <[EMAIL PROTECTED]> [2006-10-28 23:55]:
> On Sat, 28 Oct 2006, A. Pagaltzis wrote:
> > * Jess Robinson <[EMAIL PROTECTED]> [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 doesnt deref the reference itself, then it
> > would be hard to rely on that behaviour for anything useful,
> > in which case Id say you shouldnt 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 wont do anything useful. And
if thats the case, then its very unlikely that anyone is
relying on this behaviour, which means you can go ahead and
change the behaviour without worrying.
Yes, yes. Here, have a Stating The Obvious 101 diploma.
In the meantime, we were asking if anybody was using a deflator that accepts
a scalarref (and hence surely doesn't use it as an object) ?
Anybody? Bueller?
I'd almost forgotten this one.. it seems nobody is yelling, so here we go
;)
Jess
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/