Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
List::Objects::WithUtiUserHContributedtPerliDocumen::Hash::Immutable::Typed(3)

NAME
       List::Objects::WithUtils::Hash::Immutable::Typed	- Immutable typed
       hashes

SYNOPSIS
	 use List::Objects::WithUtils 'immhash_of';
	 use Types::Standard -types;
	 my $hash = immhash_of Int() =>	( foo => 1, bar	=> 2 );

DESCRIPTION
       These are immutable type-checking hash objects, essentially a
       combination of List::Objects::WithUtils::Hash::Typed and
       List::Objects::WithUtils::Hash::Immutable.

       Type-checking is	performed when the object is created; attempts to
       modify the object will throw an exception.

       This class consumes the following roles,	which contain most of the
       relevant	documentation:

       List::Objects::WithUtils::Role::Hash

       List::Objects::WithUtils::Role::Hash::Typed

       List::Objects::WithUtils::Role::Hash::Immutable

   immhash_of
       Creates a new immutable typed hash object.

AUTHOR
       Jon Portnoy <avenj@cobaltirc.org>

perl v5.24.1		   List::Objects::WithUtils::Hash::Immutable::Typed(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=List::Objects::WithUtils::Hash::Immutable::Typed&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help