Data-GUID
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Data/GUID.pm view on Meta::CPAN
#pod validation method, this method will only throw an exception if the given data
#pod is of the wrong size.
#pod
#pod =cut
sub from_data_uuid {
my ($class, $value) = @_;
my $length = do { use bytes; defined $value ? length $value : 0; };
Carp::croak "given value is not a valid Data::UUID value" if $length != 16;
bless \$value => $class;
}
#pod =head1 IDENTIFYING GUIDS
#pod
#pod =head2 string_guid_regex
#pod
#pod =head2 hex_guid_regex
#pod
#pod =head2 base64_guid_regex
#pod
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.408 second using v1.00-cache-2.02-grep-82fe00e-cpan-a086c87fca4 )