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


in reply to Re: Re: Re: Problem with Tie::RegexpHash
in thread Problem with Tie::RegexpHash

Yup, having to do that - was trying to get something working quickly and hoped someone else had come across a solution

What I'm trying to do is a simple parser for some commands and I was thinking of using a hash with the keys being regexp's that would match commands and the value's being references to functions - if anyone knows of another way of doing it I'm always willing to change direction mid-flow :)