Types::Digest - digests types for Moose and Moo
package Foo; use Moose; use Types::Digest qw/Md5 Sha256/; has md5 => ( is => 'ro', isa => Md5, ); has sha256 => ( is => 'ro', isa => Sha256, );
This module provides common digests types for Moose, Moo, etc.
MD5
SHA-1
SHA-2
this module is inspired by MooseX::Types::Digest
Copyright (C) Avast Software.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Jan Seidl <seidl@avast.com>
To install Types::Digest, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Types::Digest
CPAN shell
perl -MCPAN -e shell install Types::Digest
For more information on module installation, please visit the detailed CPAN module installation guide.