# i.e. first release of 0.XX *must* be 0.XX000. This avoids fBSD ports
# brain damage and presumably various other packaging systems too
-$VERSION = '0.01000';
+$VERSION = '0.01001';
sub uuid_columns {
my $self = shift;
sub _find_uuid_module {
if (eval{require Data::UUID}) {
return '::Data::UUID';
+ } elsif (eval{require Data::GUID}) {
+ return '::Data::GUID';
} elsif ($^O ne 'openbsd' && eval{require APR::UUID}) {
# APR::UUID on openbsd causes some as yet unfound nastiness for XS
return '::APR::UUID';
} 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';
};
};
__PACKAGE__->uuid_class('::Data::UUID');
# loads DBIx::Class::UUIDMaker::Data::UUID;
-Note that C<uuid_class> chacks to see that the specified class isa
-L<DBIx::Class::UUIDColumns::UUIDMaker> subbclass and throws and exception if it isn't.
+Note that C<uuid_class> checks to see that the specified class isa
+L<DBIx::Class::UUIDColumns::UUIDMaker> subclass and throws and exception if it isn't.
=head2 uuid_maker
L<DBIx::Class::UUIDColumns::UUIDMaker>
-=head1 AUTHORS
+=head1 AUTHOR
Chia-liang Kao <clkao@clkao.org>
+
+=head1 CONTRIBUTERS
+
Chris Laco <claco@chrislaco.com>
=head1 LICENSE