in reply to Matching against list of patterns
Can you explain a little more about your data structures. It looks like you have hash references as the keys in your %$users hash - and that strikes me as a little scary (and it almost certainly doesn't do what you think it does).
The solution to your problem is probably to create a large regex from all off the individual regexes and use that instead.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Matching against list of patterns
by Eyck (Priest) on Sep 16, 2004 at 13:56 UTC | |
by davorg (Chancellor) on Sep 16, 2004 at 15:01 UTC |