Create uuids using uuid::random
package Artist; _\|_PACKAGE_\|_->load_components(qw/UUIDColumns Core DB/); _\|_PACKAGE_\|_->uuid_columns( 'artist_id' ); _\|_PACKAGE_\|_->uuid_class('::UUID::Random');
This DBIx::Class::UUIDColumns::UUIDMaker subclass uses UUID::Random to generate uuid strings using UUID::Random::generate.
Returns the new uuid as a string.
UUID::Random
Moritz Onken <[email protected]>
You may distribute this code under the same terms as Perl itself.