A. Pagaltzis wrote:
* Bernhard Graf <[EMAIL PROTECTED]> [2007-05-14 10:50]:
But my email was not about a workaround for a probably common
pitfall. Or do you call scalar() on each subroutine in a
subroutine argument list by default?
Depends on the interface of the functions in question. But yes,
absolutely: if ambiguity can arise, I always enforce the context
I need.
Anyway, right now I have no opinion on what `find` should return.
Regards,
My view is undef, since when it succeeds it returns a Row object, I
would have thought that it would return an undef when it cant find
anything - seems the right way to me.
-ash
_______________________________________________
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]/