1 package DBIx::Class::UUIDColumns::UUIDMaker::Win32API::GUID;
6 use base qw/DBIx::Class::UUIDColumns::UUIDMaker/;
10 return Win32API::GUID::CreateGuid();
18 DBIx::Class::UUIDColumns::UUIDMaker::Win32API::GUID - Create uuids using Win32API::GUID
23 __PACKAGE__->load_components(qw/UUIDColumns Core DB/);
24 __PACKAGE__->uuid_columns( 'artist_id' );
25 __PACKAGE__->uuid_class('::Win32API::GUID');
29 This DBIx::Class::UUIDColumns::UUIDMaker subclass uses Win32API::GUID to
30 generate uuid strings in the following format:
32 098f2470-bae0-11cd-b579-08002b30bfeb
38 Returns the new uuid as a string.
46 Chris Laco <claco@chrislaco.com>
50 You may distribute this code under the same terms as Perl itself.