Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-Tie-RegexpHash

Perl module to permit use of regular expressions as hash keys

This module allows one to use regular expressions for hash keys, so that values can be associated with anything that matches the key.

Hashes can be operated on using the standard tied hash interface in Perl, or using an object-oriented interface.

Homepage:
Package version:0.15
Architecture:noarch
Distribution:Dag
Filename:perl-Tie-RegexpHash-0.15-1.el5.rf.noarch.rpm

/usr/share/doc/perl-Tie-RegexpHash-0.15/README

NAME
    Tie::RegexpHash - Use regular expressions as hash keys

REQUIREMENTS
    Tie::RegexpHash is written for and tested on Perl 5.6.0, but should run
    with Perl 5.005. (Because it uses Regexp variables it cannot run on
    earlier versions of Perl.)

    It uses only standard modules. Serialization is supported through
    Storable, but Storable is not required for normal operation.

  Inst
more»

/usr/share/man/man3/Tie::RegexpHash.3pm.gz

Tie::RegexpHash(3User Contributed Perl DocumentatiTie::RegexpHash(3)



NAME
       Tie::RegexpHash - Use regular expressions as hash keys

SYNOPSIS
         use Tie::RegexpHash;

         my %hash;

         tie %hash, 'Tie::RegexpHash';

         $hash{ qr/^5(\s+⎪-)?gal(\.⎪lons?)?/i } = '5-GAL';

         $hash{'5 gal'};     # returns "5-GAL"
         $hash{'5GAL'};      # returns "5-GAL"
  
more»

/usr/share/doc/perl-Tie-RegexpHash-0.15/Changes

Revision history for Perl extension Tie::RegexpHash.

0.15    11 Feb 2006
	- updated notes on Storable use in documentation
	- support serialization with Storable, but do not require
	  Storable
	- skip serialization tests if Storable is not available

0.14_03 10 Feb 2006
	- noted use of Storable in documentation
	- fix for MANIFEST

0.14_02 10 Feb 2006
	- fix for freeze subroutine (from Russell H
more»

Browse inside perl-Tie-RegexpHash-0.15-1.el5.rf.noarch.rpm

967 B2014-11-29HEADER  view  277+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-Tie-RegexpHash-0.15-1.el5.rf.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com