in reply to
Does eval cause that much of a performance hit?
Similar to what
trwww
said, you might want to take a look at using dispatch tables. A couple of nodes that discuss them:
When should I use a dispatch table?
and
Implementing Dispatch Tables
.
Comment on
Re: Does eval cause that much of a performance hit?
In Section
Seekers of Perl Wisdom