Fixed case where no uuid module found so that it dies with error, not with method...
Ash Berlin [Thu, 8 Mar 2007 11:13:10 +0000 (11:13 +0000)]
lib/DBIx/Class/UUIDColumns.pm

index 107d3c2..b4af9ba 100644 (file)
@@ -72,7 +72,7 @@ sub _find_uuid_module {
     } elsif (eval{require Win32API::GUID}) {
         return '::Win32API::GUID';
     } else {
-        shift->throw_exception('no suitable uuid module could be found')
+        die 'no suitable uuid module could be found for use with DBIx::Class::UUIDColumns';
     };
 };