SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE




YUM REPOSITORY

 
 

perl-Tie-Hash-Method rpm build for : OpenSuSE. For other distributions click perl-Tie-Hash-Method.

Name : perl-Tie-Hash-Method
Version : 0.02 Vendor : openSUSE
Release : 1.1 Date : 2017-11-27 13:00:00
Group : Development/Libraries/Perl Source RPM : perl-Tie-Hash-Method-0.02-1.1.src.rpm
Size : 0.01 MB
Packager : http://bugs_opensuse_org
Summary : Tied hash with specific methods overriden by callbacks
Description :
Tie::Hash::Method provides a way to create a tied hash with specific
overriden behaviour without having to create a new class to do it. A tied
hash with no methods overriden is functionally equivalent to a normal hash.

Each method in a standard tie can be overriden by providing a callback to
the tie call. So for instance if you wanted a tied hash that changed \'foo\'
into \'bar\' on store you could say:

tie my %hash, \'Tie::Hash::Method\',
STORE => sub {
(my $v=pop)=~s/foo/bar/g if defined $_[2];
return $_[0]->base_hash->{$_[1]}=$v;
};

The callback is called with exactly the same arguments as the tie itself,
in particular the tied object is always passed as the first argument.

The tied object is itself an array, which contains a second hash in the
HASH slot (index 0) which is used to perform the default operations.

The callbacks available are in a hash keyed by name in the METHOD slot of
the array (index 1).

If your code needs to store extra data in the object it should be stored in
the PRIVATE slot of the object (index 2). No future release of this module
will ever use or alter anything in that slot.

The arguments passed to the tie constructor will be seperated by the case
of their keys. The ones with all capitals will be stored in the METHOD
hash, and the rest will be stored in the PRIVATE hash.

RPM found in directory: /mirror/ftp.opensuse.org/ports/aarch64/tumbleweed/repo/oss/suse/noarch

Content of RPM  Changelog  Provides Requires

Download
mirror.switch.ch  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
mirror.switch.ch  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
ftp.icm.edu.pl  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
ftp.icm.edu.pl  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
ftp.pbone.net  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
ftp.icm.edu.pl  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
ftp.pbone.net  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
ftp.icm.edu.pl  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
ftp.icm.edu.pl  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
ftp.icm.edu.pl  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
ftp.icm.edu.pl  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
ftp.icm.edu.pl  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
ftp.icm.edu.pl  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
ftp.icm.edu.pl  perl-Tie-Hash-Method-0.02-1.1.noarch.rpm
     

Provides :
perl(Tie::Hash::Method)
perl-Tie-Hash-Method

Requires :
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Tie
/usr/lib/perl5/vendor_perl/5.26.1/Tie/Hash
/usr/lib/perl5/vendor_perl/5.26.1/Tie/Hash/Method.pm
/usr/lib/perl5/vendor_perl/5.26.1/aarch64-linux-thread-multi
/usr/share/doc/packages/perl-Tie-Hash-Method
/usr/share/doc/packages/perl-Tie-Hash-Method/Changes
/usr/share/doc/packages/perl-Tie-Hash-Method/README
/usr/share/man/man3/Tie::Hash::Method.3pm.gz