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 );
Some string type constraints that match commonly used hexdigests. See Digest::MD5 or Digest::SHA1.
MD5
A Str that looks like a valid MD5 hexdigest.
SHA1
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.
bug-moosex-types-digest at rt.cpan.org
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.
To install MooseX::Types::Digest, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Types::Digest
CPAN shell
perl -MCPAN -e shell install MooseX::Types::Digest
For more information on module installation, please visit the detailed CPAN module installation guide.