Hi!

Sorry for being silent. Loong russian holidays, you know )
But I have investigated a little. DBIC seems to not notice the
exception if it (exeption) stringifies to zero length string. That
was OK for my code since all error info was coded into exception
type. Till DBIC upgrade. The fix was to add some message to all
exceptions. Should I still pull test to fixate 0.08196 behavior?
Yes please. While this is ultimately a problem with your code (an
exception may *never* stringify to "", read `perldoc -f eval` for the
exact reason why), I still want to get DBIC to handle it correctly.

Cheers

If you mean this snip from the doc:
>  If there was no error, $@ is guaranteed to be the empty string

then this is not my case. Object which stringifies to empty string is definitely not the same as empty string (the former is true value while latter is not).
Pull request sent.

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to