Tie-Hash-RegexKeys reviews

cpanratings
 

RSS | Module Info | Add a review of Tie-Hash-RegexKeys

Tie-Hash-RegexKeys (1.2) *

Do not use this module.

tie my %h, 'Tie::Hash::RegexKeys';

# ...do hash things...

my @keys = tied(%h)->FETCH_KEYS(qr/$pat/);

Is this module's way of saying:

my %h;

# ...

my @keys = grep {/$pat/} keys %h;

...but it's slower and takes longer to type.

Ricardo Signes - 2005-10-07T06:10:12 (permalink)

7 out of 7 found this review helpful. Was this review helpful to you?  Yes No