Switch UNRESOLVABLE_CONDITION to an _Util constant
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / _Util.pm
index 0ab7ac9..e281b66 100644 (file)
@@ -59,8 +59,11 @@ our @EXPORT_OK = qw(
   sigwarn_silencer modver_gt_or_eq fail_on_internal_wantarray
   refcount hrefaddr is_exception
   is_plain_value is_literal_value
+  UNRESOLVABLE_CONDITION
 );
 
+use constant UNRESOLVABLE_CONDITION => \ '1 = 0';
+
 sub sigwarn_silencer ($) {
   my $pattern = shift;