MooseX::Types::Digest - Digest datatypes for Moose
package Foo; use Moose; use Moose::Util::TypeConstraints; use MooseX::Types::Digest qw( MD5 SHA1 SHA224 SHA256 SHA384 SHA512 ); has md5 => ( is => 'rw', isa => MD5 ); has sha1 => ( is => 'rw', isa => SHA1 );
A Str that looks like a valid MD5 hexdigest.
A Str that looks like a valid SHA1 hexdigest.
Michael Langner, C<< <mila at cpan.org> >> Stevan Little, C<< <stevan.little at iinteractive.com> >>
Please report any bugs or feature requests to
bug-moosex-types-digest at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-Types-Digest. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
Copyright 2009 Michael Langner, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.