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

FreeBSD Manual Pages

  
 
  

home | help
List::Objects::WithUtiUserRContributedcPerlWDocumels::Role::Hash::Immutable(3)

NAME
       List::Objects::WithUtils::Role::Hash::Immutable - Immutable hash
       behavior

SYNOPSIS
	 # Via List::Objects::WithUtils::Hash::Immutable ->
	 use List::Objects::WithUtils 'immhash';
	 my $hash = immhash( foo => 1, bar => 2	);
	 $hash->set(foo	=> 3);	# dies

DESCRIPTION
       This role adds immutable	behavior to
       List::Objects::WithUtils::Role::Hash consumers.

       The following methods are not available and will	throw an exception:

	 clear
	 set
	 maybe_set
	 delete

       (The backing hash is also marked	read-only.)

       See List::Objects::WithUtils::Hash::Immutable for a consumer
       implementation.

AUTHOR
       Jon Portnoy <avenj@cobaltirc.org>

perl v5.24.1		    List::Objects::WithUtils::Role::Hash::Immutable(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::Role::Hash::Immutable&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help