http://www.perlmonks.org?node_id=391473


in reply to Re^2: Matching against list of patterns
in thread Matching against list of patterns

What is so scary about hashrefs?

Absolutely nothing.

But anything that you use as a hash key gets converted into a string. And that means that when you pull the keys back out you can no longer use them as hash references - which is what you seem to be doing.

Can you show us the code that builds your %$users hash?

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re^3: Matching against list of patterns