Hash::Case::Preserve man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Hash::Case::Preserve(3User Contributed Perl DocumentatiHash::Case::Preserve(3)

NAME
       Hash::Case::Preserve - hash with enforced lower cased keys

INHERITANCE
	Hash::Case::Preserve
	  is a Hash::Case
	  is a Tie::StdHash

SYNOPSIS
	use Hash::Case::Preserve;
	tie my(%cphash), 'Hash::Case::Preserve';
	$cphash{StraNGeKeY} = 3;
	print keys %cphash;	    # StraNGeKeY
	print $cphash{strangekey};  # 3
	print $cphash{STRANGEKEY};  # 3

DESCRIPTION
       Hash::Case::Preserve extends Hash::Case, which lets you play various
       trics with hash keys.  See Hash::Case for the other implementations.

METHODS
       $obj->addHashData(HASH)

	   See "METHODS" in Hash::Case

       $obj->addPairs(PAIRS)

	   See "METHODS" in Hash::Case

       $obj->setHash(HASH)

	   See "METHODS" in Hash::Case

       tie(HASH, 'Hash::Case::Preserve', [VALUES,] OPTIONS)

	   Define HASH to be case insensitive, but case preserving.  The hash
	   is initialized with the VALUES, specified as ref-array or ref-hash.

	   OPTIONS is a list of key/value pairs, which specify how the hash
	   must handle preservation.  Current options:

	    Option--Default
	    keep    <required>

	   . keep => => 'FIRST' | 'LAST'

	       Which casing is the prefered casing?  The FIRST appearance or
	       the LAST.  Only stores will affect the casing, deletes will
	       undo the definition.  Defaults to LAST, which is slightly
	       faster.

SEE ALSO
       This module is part of Hash-Case distribution version 1.006, built on
       June 19, 2008. Website: http://perl.overmeer.net/hash-case/

LICENSE
       Copyrights 2002-2003,2007-2008 by Mark Overmeer. For other contributors
       see ChangeLog.

       This program is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.  See
       http://www.perl.com/perl/misc/Artistic.html

perl v5.14.1			  2008-06-19	       Hash::Case::Preserve(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net