in reply to Re^4: trouble with evaluate
in thread trouble with evaluate

Eliya's final response is the fleshed out example of what I'm suggesting to you: Re^3: trouble with evaluate

There are also a list of tutorials on perldoc for object oriented programming that might help you:

If you show us more of your code, we might be able to help you more fully